| commit | 954c736f865d6c0c68ae4263a2f3502ee7c447a3 | [log] [tgz] |
|---|---|---|
| author | Amir Goldstein <amir73il@gmail.com> | Mon Sep 18 22:53:43 2017 +0300 |
| committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Oct 05 15:53:18 2017 +0200 |
| tree | b49f8a37ae725797c9eac78c62e1434b2ca2dfed | |
| parent | 9e66317d3c92ddaab330c125dfe9d06eee268aff [diff] |
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>