NFSD: Fix inconsistent indenting
Subsystems (2)
PATCH 1/1 NFSD: Fix inconsistent indenting
Eliminate the follow smatch warning:
fs/nfsd/nfs4xdr.c:4766 nfsd4_encode_read_plus_hole() warn: inconsistent indenting.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- fs/nfsd/nfs4xdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/nfs4xdr.c +2 -2
@@ -4763,8 +4763,8 @@ static __be32 nfsd4_encode_readv(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);
Signature · 1 line
1.8.3.1
Quoted 33 lines · Jiapeng Chong
Eliminate the follow smatch warning:
fs/nfsd/nfs4xdr.c:4766nfsd4_encode_read_plus_hole()warn: inconsistent indenting.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>---
fs/nfsd/nfs4xdr.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)fs/nfsd/nfs4xdr.c +2
-2@@ -4763,8 +4763,8 @@ static __be32 nfsd4_encode_readv(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);Signature · 1 line
1.8.3.1
Thanks! I've included this patch in my for-next topic branch.
--
Chuck Lever