NFSD: Fix inconsistent indenting
[ Upstream commit 1e37d0e5bd ]
Eliminate the follow smatch warning:
fs/nfsd/nfs4xdr.c:4766 nfsd4_encode_read_plus_hole() warn: inconsistent
indenting.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
19fbf344ba
commit
fdf657bd75
+2
-2
@@ -4807,8 +4807,8 @@ nfsd4_encode_read_plus_hole(struct nfsd4_compoundres *resp,
|
||||
return nfserr_resource;
|
||||
|
||||
*p++ = htonl(NFS4_CONTENT_HOLE);
|
||||
p = xdr_encode_hyper(p, read->rd_offset);
|
||||
p = xdr_encode_hyper(p, count);
|
||||
p = xdr_encode_hyper(p, read->rd_offset);
|
||||
p = xdr_encode_hyper(p, count);
|
||||
|
||||
*eof = (read->rd_offset + count) >= f_size;
|
||||
*maxcount = min_t(unsigned long, count, *maxcount);
|
||||
|
||||
Reference in New Issue
Block a user