Skip to content

Commit 1e37d0e

Browse files
wb-zjp846396chucklever
authored andcommitted
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 <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent 7578b2f commit 1e37d0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/nfsd/nfs4xdr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4804,8 +4804,8 @@ nfsd4_encode_read_plus_hole(struct nfsd4_compoundres *resp,
48044804
return nfserr_resource;
48054805

48064806
*p++ = htonl(NFS4_CONTENT_HOLE);
4807-
p = xdr_encode_hyper(p, read->rd_offset);
4808-
p = xdr_encode_hyper(p, count);
4807+
p = xdr_encode_hyper(p, read->rd_offset);
4808+
p = xdr_encode_hyper(p, count);
48094809

48104810
*eof = (read->rd_offset + count) >= f_size;
48114811
*maxcount = min_t(unsigned long, count, *maxcount);

0 commit comments

Comments
 (0)