Skip to content

use i_lock to protect updates of i_blocks &

Hou Tao linux-fsdevel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 8 repliesIn review
  2. v21 patch 5 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29p: use inode->i_lock to protect i_size_write() under 32-bitfs/9p/v9fs_vfs.h fs/9p/vfs_file.c fs/9p/vfs_inode.c +2 more+52 -304 replies
2/29p: use i_lock to protect update of inode->i_blocks under 32-bitfs/9p/v9fs_vfs.h fs/9p/vfs_inode.c fs/9p/vfs_inode_dotl.c+23 -104 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] use i_lock to protect updates of i_blocks &

The updates of i_blocks & i_size are buggy under 32-bit case, so fix them accordingly.

Hou Tao (2):
9p: use inode->i_lock to protect i_size_write() under 32-bit 9p: use i_lock to protect update of inode->i_blocks under 32-bit

 fs/9p/v9fs_vfs.h       | 32 ++++++++++++++++++++++++++++++--
 fs/9p/vfs_file.c       |  6 +++++-
 fs/9p/vfs_inode.c      | 26 +++++++++++++-------------
 fs/9p/vfs_inode_dotl.c | 35 +++++++++++++++++++----------------
 fs/9p/vfs_super.c      |  4 ++--
 5 files changed, 69 insertions(+), 34 deletions(-)
Signature · 1 line
2.16.2.dirty