]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
nfsd4: free_stateid can use the current stateid
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Dec 2012 23:17:13 +0000 (18:17 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 18 Dec 2012 03:00:27 +0000 (22:00 -0500)
Cc: Tigran Mkrtchyan <kofemann@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c

index 2a2d9b06a4133eda974a0a78f24c7b7fc8297a23..9d1c5dba2bbb6625df90cebca48a364a29b9fe97 100644 (file)
@@ -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,
        },
 };