diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-01-03 18:54:42 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-19 17:43:24 +0100 |
commit | a5a927a7c82e28ea76599dee4019c41e372c911f (patch) | |
tree | bafff47b89c2e07707dc6f4764d50f7292883989 /fs/overlayfs/namei.c | |
parent | 2ba9d57e65044859f7ff133bcb0a902769bf3bc6 (diff) |
ovl: take mnt_want_write() for removing impure xattr
The optimization in ovl_cache_get_impure() that tries to remove an
unneeded "impure" xattr needs to take mnt_want_write() on upper fs.
Fixes: 4edb83bb1041 ("ovl: constant d_ino for non-merge dirs")
Cc: <stable@vger.kernel.org> #v4.14
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/namei.c')
0 files changed, 0 insertions, 0 deletions