Skip to contentSkip to conversation

nfsd: rmmove unused macro in nfsv4

PATCH In review [email protected] 2 participants 2 messages Mar 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nfsd: rmmove unused macro in nfsv4

From: Yanchuan Nian <[email protected]>

lk_rflags is never used anywhere, and rflags is not defined in struct nfsd4_lock. Very sorry for my negligence in last version. Maybe I am tired.

---
 fs/nfsd/xdr4.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/nfsd/xdr4.h +0 -1
index 0889bfb..326724a 100644
@@ -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
 
Signature · 1 line
1.7.4.4
#1 lore raw
Quoted 4 lines · On Mon, Mar 11, 2013 at 10:43:26AM +0800, [email protected] wrote:

From: Yanchuan Nian <[email protected]>

lk_rflags is never used anywhere, and rflags is not defined in struct nfsd4_lock. Very sorry for my negligence in last version. Maybe I am tired.

Applying for 3.10, thanks.--b.

Quoted 21 lines
---
 fs/nfsd/xdr4.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/nfsd/xdr4.h +0 -1
index 0889bfb..326724a 100644
@@ -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
 
Signature · 1 line
1.7.4.4