From: "J. Bruce Fields" <bfields@redhat.com>
To: linux-nfs@vger.kernel.org
Cc: "J. Bruce Fields" <bfields@redhat.com>,
Tigran Mkrtchyan <kofemann@gmail.com>
Subject: [PATCH 3/4] nfsd4: free_stateid can use the current stateid
Date: Mon, 17 Dec 2012 23:45:52 -0500 [thread overview]
Message-ID: <1355805953-2473-4-git-send-email-bfields@redhat.com> (raw)
In-Reply-To: <1355805953-2473-1-git-send-email-bfields@redhat.com>
From: "J. Bruce Fields" <bfields@redhat.com>
Cc: Tigran Mkrtchyan <kofemann@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
---
fs/nfsd/nfs4proc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 2a2d9b0..9d1c5db 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1766,6 +1766,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
.op_func = (nfsd4op_func)nfsd4_free_stateid,
.op_flags = ALLOWED_WITHOUT_FH | OP_MODIFIES_SOMETHING,
.op_name = "OP_FREE_STATEID",
+ .op_get_currentstateid = (stateid_getter)nfsd4_get_freestateid,
.op_rsize_bop = (nfsd4op_rsize)nfsd4_only_status_rsize,
},
};
--
1.7.9.5
next prev parent reply other threads:[~2012-12-18 4:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 4:45 nfsd patches J. Bruce Fields
2012-12-18 4:45 ` [PATCH 1/4] nfsd: warn on odd reply state in nfsd_vfs_read J. Bruce Fields
2012-12-18 4:45 ` [PATCH 2/4] nfsd4: cleanup: replace rq_resused count by rq_next_page pointer J. Bruce Fields
2012-12-18 4:45 ` J. Bruce Fields [this message]
2012-12-18 4:45 ` [PATCH 4/4] nfsd4: don't leave freed stateid hashed J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1355805953-2473-4-git-send-email-bfields@redhat.com \
--to=bfields@redhat.com \
--cc=kofemann@gmail.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.