]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Count bytes instead of pages in the NFSv2 READDIR encoder
authorChuck Lever <chuck.lever@oracle.com>
Fri, 13 Nov 2020 21:57:44 +0000 (16:57 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 14:18:59 +0000 (10:18 -0400)
commit0440132b68a7088c6b5a7025db14ca795d7dad39
tree0520451d1f3fdac50bdd3caa9e69de184463b0b8
parent85024e9017878aa98f9bfc71614d9b4323813fa3
NFSD: Count bytes instead of pages in the NFSv2 READDIR encoder

Clean up: Counting the bytes used by each returned directory entry
seems less brittle to me than trying to measure consumed pages after
the fact.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsproc.c
fs/nfsd/nfsxdr.c