Browse Source

ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
master
Theodore Ts'o 8 years ago
parent
commit
dcb9917ba0
  1. 1
      fs/ext4/xattr.c

1
fs/ext4/xattr.c

@ -1352,6 +1352,7 @@ retry:
new_extra_isize = s_min_extra_isize;
kfree(is); is = NULL;
kfree(bs); bs = NULL;
brelse(bh);
goto retry;
}
error = -1;

Loading…
Cancel
Save