NFS: Fix a typo in _nfs_display_fhandle
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Mar 2012 15:14:35 +0000 (10:14 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Mar 2012 15:32:43 +0000 (10:32 -0500)
commitfa68a1ba1de349f0d1fcc54171b95236efe24148
treed7f1d06a8e041133fa1473b46b1eacd9f71d54d0
parent7e03b7cc0736eefe7471782c344112ad6eba951e
NFS: Fix a typo in _nfs_display_fhandle

The check for 'fh == NULL' needs to come _before_ we dereference
fh.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c