diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-11-04 20:03:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-11-04 20:03:14 -0700 |
| commit | bd30fac18f9ec12b0c2590ebdb8e18ddb104c065 (patch) | |
| tree | f8d651a93a65ad1ac7efcf5386f3f4cc25940ee5 /fs/overlayfs/inode.c | |
| parent | d4c5f43dcd05529236a0f957b27d2597c24e5f69 (diff) | |
| parent | 641089c1549d8d3df0b047b5de7e9a111362cdce (diff) | |
| download | linux-bd30fac18f9ec12b0c2590ebdb8e18ddb104c065.tar.gz linux-bd30fac18f9ec12b0c2590ebdb8e18ddb104c065.tar.bz2 linux-bd30fac18f9ec12b0c2590ebdb8e18ddb104c065.zip | |
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
Pull overlayfs fixes from Miklos Szeredi:
"Fix two more POSIX ACL bugs introduced in 4.8 and add a missing fsync
during copy up to prevent possible data loss"
* 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
ovl: fsync after copy-up
ovl: fix get_acl() on tmpfs
ovl: update S_ISGID when setting posix ACLs
Diffstat (limited to 'fs/overlayfs/inode.c')
| -rw-r--r-- | fs/overlayfs/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index c58f01babf30..7fb53d055537 100644 --- a/fs/overlayfs/inode.c +++ b/fs/overlayfs/inode.c @@ -270,9 +270,6 @@ struct posix_acl *ovl_get_acl(struct inode *inode, int type) if (!IS_ENABLED(CONFIG_FS_POSIX_ACL) || !IS_POSIXACL(realinode)) return NULL; - if (!realinode->i_op->get_acl) - return NULL; - old_cred = ovl_override_creds(inode->i_sb); acl = get_acl(realinode, type); revert_creds(old_cred); |
