summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/namei.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-09-18 21:53:43 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2017-10-05 15:53:18 +0200
commit954c736f865d6c0c68ae4263a2f3502ee7c447a3 (patch)
treeb49f8a37ae725797c9eac78c62e1434b2ca2dfed /fs/overlayfs/namei.c
parentLinux 4.14-rc3 (diff)
downloadlinux-954c736f865d6c0c68ae4263a2f3502ee7c447a3.tar.xz
linux-954c736f865d6c0c68ae4263a2f3502ee7c447a3.zip
ovl: fix may_write_real() for overlayfs directories
Overlayfs directory file_inode() is the overlay inode whether the real inode is upper or lower. This fixes a regression in xfstest generic/158. Fixes: 7c6893e3c9ab ("ovl: don't allow writing ioctl on lower layer") 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