aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJie Liu <[email protected]>2013-07-03 15:00:59 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:07:24 -0700
commit493098413bdb45f223ff0552e2f734849491dbbe (patch)
tree9555b2e11687d8321ba1c233c61da1feeb02fcd1 /tools/perf/scripts/python/netdev-times.py
parentea45466aec98b68faaf354901c42e281e58af50a (diff)
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 <[email protected]> Cc: Younger Liu <[email protected]> Cc: Sunil Mushran <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions