Commit f96adf1e authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Trond Myklebust

nfs: remove unused label in nfs_encode_fh()

The only reference to the label got removed, so we now get
a harmless compiler warning:

fs/nfs/export.c: In function 'nfs_encode_fh':
fs/nfs/export.c:58:1: error: label 'out' defined but not used [-Werror=unused-label]

Fixes: aaa15008 ("nfs: remove dead code from nfs_encode_fh()")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 0af3442a
...@@ -55,7 +55,6 @@ nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) ...@@ -55,7 +55,6 @@ nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent)
p[len - 1] = 0; /* Padding */ p[len - 1] = 0; /* Padding */
nfs_copy_fh(clnt_fh, server_fh); nfs_copy_fh(clnt_fh, server_fh);
*max_len = len; *max_len = len;
out:
dprintk("%s: result fh fileid %llu mode %u size %d\n", dprintk("%s: result fh fileid %llu mode %u size %d\n",
__func__, NFS_FILEID(inode), inode->i_mode, *max_len); __func__, NFS_FILEID(inode), inode->i_mode, *max_len);
return *max_len; return *max_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment