summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorYanchuan Nian2013-03-11 03:43:26 +0100
committerJ. Bruce Fields2013-04-03 17:48:33 +0200
commit9c6bdbb8dd58c8de8f36e1deb6b768918c85c249 (patch)
tree8c0e9ff2bdf73a7ed81d14ae753fcb5923487bd1 /fs/nfsd/xdr4.h
parentnfsd4: fix use-after-free of 4.1 client on connection loss (diff)
downloadkernel-qcow2-linux-9c6bdbb8dd58c8de8f36e1deb6b768918c85c249.tar.gz
kernel-qcow2-linux-9c6bdbb8dd58c8de8f36e1deb6b768918c85c249.tar.xz
kernel-qcow2-linux-9c6bdbb8dd58c8de8f36e1deb6b768918c85c249.zip
nfsd: remove unused macro in nfsv4
lk_rflags is never used anywhere, and rflags is not defined in struct nfsd4_lock. Signed-off-by: Yanchuan Nian <ycnian@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index be0a79d1dbcb..40e05e6d2518 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -184,7 +184,6 @@ struct nfsd4_lock {
#define lk_old_lock_stateid v.old.lock_stateid
#define lk_old_lock_seqid v.old.lock_seqid
-#define lk_rflags u.ok.rflags
#define lk_resp_stateid u.ok.stateid
#define lk_denied u.denied