]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ubifs: Fix xattr_names length in exit paths
authorRichard Weinberger <richard@nod.at>
Tue, 20 Sep 2016 08:08:30 +0000 (10:08 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 19 Oct 2016 22:05:54 +0000 (00:05 +0200)
commit843741c5778398ea67055067f4cc65ae6c80ca0e
treed03c20663d763214350f6e40e418513c2dc17a6c
parent390975ac3978162ec9c6beca66f0fe83b0be33bb
ubifs: Fix xattr_names length in exit paths

When the operation fails we also have to undo the changes
we made to ->xattr_names. Otherwise listxattr() will report
wrong lengths.

Cc: stable@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/xattr.c