summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-16 10:33:14 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2018-01-16 10:12:49 -0500
commitf96adf1ea08a37e3739b1f929ce8318eee63b1f4 (patch)
treedd85416fe2e805b96472ad177ddb51fef287b563
parent0af3442af7c4c5b06e72708d7dd937974d1b4114 (diff)
downloadop-kernel-dev-f96adf1ea08a37e3739b1f929ce8318eee63b1f4.zip
op-kernel-dev-f96adf1ea08a37e3739b1f929ce8318eee63b1f4.tar.gz
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: aaa150089465 ("nfs: remove dead code from nfs_encode_fh()") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r--fs/nfs/export.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/export.c b/fs/nfs/export.c
index 2b80a66..ab5de32 100644
--- a/fs/nfs/export.c
+++ b/fs/nfs/export.c
@@ -55,7 +55,6 @@ nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent)
p[len - 1] = 0; /* Padding */
nfs_copy_fh(clnt_fh, server_fh);
*max_len = len;
-out:
dprintk("%s: result fh fileid %llu mode %u size %d\n",
__func__, NFS_FILEID(inode), inode->i_mode, *max_len);
return *max_len;
OpenPOWER on IntegriCloud