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