Skip to content

Cleanup/fix nfs_block_size() and nfs_block_bits()

Rene Scharfe lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Lose second parameter of nfs_block_size().fs/nfs/inode.c+16 -140 replies
2/3Lose second parameter of nfs_block_bitsfs/nfs/inode.c+8 -90 replies
3/3Replace nfs_block_bits() with roundup_pow_of_two()fs/nfs/inode.c+3 -196 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH NFS 0/3] Cleanup/fix nfs_block_size() and nfs_block_bits()

[PATCH NFS 0/3] Cleanup/fix nfs_block_size() and nfs_block_bits()

The Plan 9 filesystem for Linux had some code which wrongly calculated the size of blocks. A comment said this code has been taken from NFS.

Patch 3 of this series contains a fix for the bug, the first two patches are preparation work and shouldn't change the results. I didn't went so far and actually test the patch, so please be careful. =) Compiles fine here, at least.

Rene