]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: adjust code to match locking/unlocking order
authorJoseph Qi <joseph.qi@huawei.com>
Fri, 4 Sep 2015 22:43:52 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit6f556ace1e67119326ab5c6cd1d385b76ab1bdf4
tree9bc01dd9148e4dbdf392b6ed409509cb22049287
parent4a5a6a4b97ce10ad18af38ea8e7ccf9e82769ca6
ocfs2: adjust code to match locking/unlocking order

Unlocking order in ocfs2_unlink and ocfs2_rename mismatches the
corresponding locking order, although it won't cause issues, adjust the
code so that it looks more reasonable.

Signed-off-by: Joseph Qi <joseph.qi@huawei.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>
fs/ocfs2/namei.c