summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2018-11-07 01:44:03 +0300
committerJ. Bruce Fields <bfields@redhat.com>2018-11-28 00:24:01 +0300
commit0d4d6720ce9ac0d393aa35696520fde48b2064a5 (patch)
tree7ec6f69400ce8edb41f73c2d8d49db9bac9bbfbd /fs/nfsd
parentf8f71d00651325377ec125938ee8a29c1f7da6ef (diff)
downloadlinux-0d4d6720ce9ac0d393aa35696520fde48b2064a5.tar.xz
nfsd4: skip unused assignment
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 4cbf725cdcba..50ca28eeebb6 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1345,7 +1345,7 @@ static __be32
nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
struct nfsd4_fallocate *fallocate, int flags)
{
- __be32 status = nfserr_notsupp;
+ __be32 status;
struct file *file;
status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh,