mbox series

[V2,0/2] ocfs2: protect extent tree in the ocfs2_prepare_inode_for_write

Message ID 1568772175-2906-1-git-send-email-sunny.s.zhang@oracle.com (mailing list archive)
Headers show
Series ocfs2: protect extent tree in the ocfs2_prepare_inode_for_write | expand

Message

sunnyZhang Sept. 18, 2019, 2:02 a.m. UTC
I split the patch into 2 patches. A unused function is removed in
the second patch. This will make patches easier to read.

v1->v2:
  - split the patch into 2 patches
  - abstract a pair of function for locking and unlocking
  - remove the function call of ocfs2_prepare_inode_for_refcount

Shuning Zhang (2):
  ocfs2: protect extent tree in the ocfs2_prepare_inode_for_write
  ocfs2: remove unused function ocfs2_prepare_inode_for_refcount

 fs/ocfs2/file.c | 136 +++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 91 insertions(+), 45 deletions(-)