linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] use i_lock to protect updates of i_blocks &
@ 2019-01-24  6:35 Hou Tao
  2019-01-24  6:35 ` [PATCH v3 1/2] 9p: use inode->i_lock to protect i_size_write() under 32-bit Hou Tao
  2019-01-24  6:35 ` [PATCH v3 2/2] 9p: use i_lock to protect update of inode->i_blocks " Hou Tao
  0 siblings, 2 replies; 11+ messages in thread
From: Hou Tao @ 2019-01-24  6:35 UTC (permalink / raw)
  To: v9fs-developer
  Cc: asmadeus, lucho, ericvh, linux-fsdevel, xingaopeng, houtao1

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-03-03  4:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24  6:35 [PATCH v3 0/2] use i_lock to protect updates of i_blocks & Hou Tao
2019-01-24  6:35 ` [PATCH v3 1/2] 9p: use inode->i_lock to protect i_size_write() under 32-bit Hou Tao
2019-01-24  6:57   ` Dominique Martinet
2019-01-24 11:01     ` Hou Tao
2019-03-02 11:31     ` Hou Tao
2019-03-03  4:57       ` Dominique Martinet
2019-01-24  6:35 ` [PATCH v3 2/2] 9p: use i_lock to protect update of inode->i_blocks " Hou Tao
2019-01-24  7:25   ` Dominique Martinet
2019-01-24 14:03     ` Hou Tao
2019-01-24 14:45       ` Dominique Martinet
2019-01-24 14:53         ` Dominique Martinet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).