2013-03-11 02:14:15

by Yanchuan Nian

[permalink] [raw]
Subject: [PATCH] nfsd: rmmove unused macro in nfsv4

From: Yanchuan Nian <[email protected]>

lk_new_open_seqid is never used anywhere, and rflags is not defined in struct
nfsd4_lock.

Signed-off-by: Yanchuan Nian <[email protected]>
---
fs/nfsd/xdr4.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index 0889bfb..326724a 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

--
1.7.4.4