aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjon ernst <jonernst07@gmail.com>2014-04-12 23:01:28 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-04-12 23:01:28 -0400
commite2cbd587418251bb73c4c1e8e2c7c1816d7a98d9 (patch)
treea0106ee217f8302478a09f8c78d5d89b71f68068
parent40c406c74eb9eed58ae7d4d12a0197f7279c9499 (diff)
ext4: silence sparse check warning for function ext4_trim_extent
This fixes the following sparse warning: CHECK fs/ext4/mballoc.c fs/ext4/mballoc.c:5019:9: warning: context imbalance in 'ext4_trim_extent' - unexpected unlock Signed-off-by: "Jon Ernst" <jonernst07@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 73ccbb3b973b..c8238a26818c 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -5016,6 +5016,8 @@ error_return:
5016 */ 5016 */
5017static int ext4_trim_extent(struct super_block *sb, int start, int count, 5017static int ext4_trim_extent(struct super_block *sb, int start, int count,
5018 ext4_group_t group, struct ext4_buddy *e4b) 5018 ext4_group_t group, struct ext4_buddy *e4b)
5019__releases(bitlock)
5020__acquires(bitlock)
5019{ 5021{
5020 struct ext4_free_extent ex; 5022 struct ext4_free_extent ex;
5021 int ret = 0; 5023 int ret = 0;