summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2013-07-04 00:00:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:24 +0200
commit493098413bdb45f223ff0552e2f734849491dbbe (patch)
tree9555b2e11687d8321ba1c233c61da1feeb02fcd1 /Makefile
parentocfs2: need rollback when journal_access failed in ocfs2_orphan_add() (diff)
downloadlinux-493098413bdb45f223ff0552e2f734849491dbbe.tar.xz
linux-493098413bdb45f223ff0552e2f734849491dbbe.zip
ocfs2: rework transaction rollback in ocfs2_relink_block_group()
In ocfs2_relink_block_group(), we roll back all those changes if notify intent to modify buffers for metadata update failed even if the relevant buffer has not yet been modified/got dirty at that point, that are not quite right because of: - None buffer has been modified/dirty if failed to call ocfs2_journal_access_gd() against the previous block group buffer - Only the previous block group buffer has got dirty if failed to call ocfs2_journal_access_gd() against the block group buffer - There is no need to roll back the change for file entry buffer at all Those problems will not cause anything wrong but unnecessary. This patch fix them and kill the useless bg_ptr variable as well. Signed-off-by: Jie Liu <jeff.liu@oracle.com> Cc: Younger Liu <younger.liu@huawei.com> Cc: Sunil Mushran <sunil.mushran@gmail.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions