mbox series

[v3,0/2] use i_lock to protect updates of i_blocks &

Message ID 20190124063514.8571-1-houtao1@huawei.com (mailing list archive)
Headers show
Series use i_lock to protect updates of i_blocks & | expand

Message

Hou Tao Jan. 24, 2019, 6:35 a.m. UTC
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(-)