diff mbox

[v2] nfsd: rmmove unused macro in nfsv4

Message ID 1362969806-23907-1-git-send-email-ycnian@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

ycnian@gmail.com March 11, 2013, 2:43 a.m. UTC
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(-)

Comments

J. Bruce Fields March 11, 2013, 2:43 p.m. UTC | #1
On Mon, Mar 11, 2013 at 10:43:26AM +0800, ycnian@gmail.com wrote:
> 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.

Applying for 3.10, thanks.--b.

> 
> 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
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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