]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ext4: unlock on error in ext4_expand_extra_isize()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Dec 2019 18:50:11 +0000 (21:50 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 6 Jan 2020 14:17:38 +0000 (08:17 -0600)
commitb493ffd347ccdc9c0abf62d10d82e85dfd3c6b10
tree2af8cdac7d07bcd27f532eb5f84a1696eb20bea0
parent179962ea3cbf1439d7bb79b9d6ca461b939a8a9c
ext4: unlock on error in ext4_expand_extra_isize()

BugLink: https://bugs.launchpad.net/bugs/1858428
commit 7f420d64a08c1dcd65b27be82a27cf2bdb2e7847 upstream.

We need to unlock the xattr before returning on this error path.

Cc: stable@kernel.org # 4.13
Fixes: c03b45b853f5 ("ext4, project: expand inode extra size if possible")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20191213185010.6k7yl2tck3wlsdkt@kili.mountain
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
fs/ext4/inode.c