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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.16.2.dirty




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux