fs/reiserfs/journal.c: fix sparse context imbalance warning
authorFabian Frederick <fabf@skynet.be>
Mon, 13 Oct 2014 22:53:29 +0000 (15:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:20 +0000 (02:18 +0200)
commit54cc6cea73bb5ddf0362a70ef58816898bfb7f87
tree19245a625a45f333483ffe0a12e4c2071d3a9562
parent35c0b380d81bd566c37a252399f008928ef4b2cd
fs/reiserfs/journal.c: fix sparse context imbalance warning

Merge conditional unlock/lock in the same condition to avoid sparse
warning:

  fs/reiserfs/journal.c:703:36: warning: context imbalance in 'add_to_chunk' - unexpected unlock

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/journal.c