diff options
author | Richard Weinberger <richard@nod.at> | 2018-07-08 23:33:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-09 19:56:00 +0200 |
commit | 8a23348d76a1e7716da6e76383281ac82fc071cf (patch) | |
tree | 8e3209217a270e2a9bb0c26fe7da6f88eea6624d /drivers/pwm | |
parent | f6d7acc1d9cae277b0379e8209eaefe59a3fbf79 (diff) |
ubifs: xattr: Don't operate on deleted inodes
commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52 upstream.
xattr operations can race with unlink and the following assert triggers:
UBIFS assert failed in ubifs_jnl_change_xattr at 1606 (pid 6256)
Fix this by checking i_nlink before working on the host inode.
Cc: <stable@vger.kernel.org>
Fixes: 1e51764a3c2a ("UBIFS: add new flash file system")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions