diff options
author | NeilBrown <[email protected]> | 2006-04-10 22:55:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2006-04-11 06:18:52 -0700 |
commit | 6ed6decccf544970664757464cfb67e081775e6a (patch) | |
tree | 9aa6b62856426e5aba7f34b3bbc9b24c87a54b87 /lib/genalloc.c | |
parent | f0e2993e9e73e8f38b05a89c98b9db94fec2199d (diff) |
[PATCH] knfsd: nfsd4: fix corruption of returned data when using 64k pages
In v4 we grab an extra page just for the padding of returned data. The
formula that the rpc server uses to allocate pages for the response doesn't
take into account this extra page.
Instead of adjusting those formulae, we adopt the same solution as v2 and v3,
and put the "tail" data in the same page as the "head" data.
Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions