summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2018-11-06 23:44:03 +0100
committerJ. Bruce Fields <bfields@redhat.com>2018-11-27 22:24:01 +0100
commit0d4d6720ce9ac0d393aa35696520fde48b2064a5 (patch)
tree7ec6f69400ce8edb41f73c2d8d49db9bac9bbfbd /fs/nfsd
parentnfsd4: forbid all renames during grace period (diff)
downloadlinux-0d4d6720ce9ac0d393aa35696520fde48b2064a5.tar.xz
linux-0d4d6720ce9ac0d393aa35696520fde48b2064a5.zip
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,