Skip to content

Commit

Permalink
nfsd: remove unused macro in nfsv4
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yanchuan Nian authored and J. Bruce Fields committed Apr 3, 2013
1 parent 2e4b723 commit 9c6bdbb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/nfsd/xdr4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9c6bdbb

Please sign in to comment.