lkml.org 
[lkml]   [2013]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] nfsd: rmmove unused macro in nfsv4
Date
From: Yanchuan Nian <ycnian@gmail.com>

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.

Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
---
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


\
 
 \ /
  Last update: 2013-03-11 04:41    [W:0.036 / U:1.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site