NFSD: Check status from nfsd4_map_bcts_dir()
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 27 Apr 2011 19:47:15 +0000 (15:47 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 30 Apr 2011 00:47:58 +0000 (20:47 -0400)
commit1db2b9dde3317e181f76860410cb0e7433896f28
treee5175ed6fe697559debe07d44c52d1f6141fb61f
parentfccb13c947de83a368e1f3c2216bbf4d8d41efa1
NFSD: Check status from nfsd4_map_bcts_dir()

Compiling gave me this warning:
fs/nfsd/nfs4state.c: In function ‘nfsd4_bind_conn_to_session’:
fs/nfsd/nfs4state.c:1623:9: warning: variable ‘status’ set but not used
[-Wunused-but-set-variable]

The local variable "status" was being set by nfsd4_map_bcts_dir() and
then ignored before calling nfsd4_new_conn().

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c