mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
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>
This commit is contained in:
parent
7578b2f628
commit
1e37d0e5bd
@ -4804,8 +4804,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);
|
||||
|
Loading…
Reference in New Issue
Block a user