diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-08-22 17:52:55 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-01 11:12:00 +0200 |
commit | 0eb45fc3bb7a2cf9c9c93d9e95986a841e5f4625 (patch) | |
tree | d88d9c499a3de864cc9ad48dfa79bfc61b27efed /fs/overlayfs/dir.c | |
parent | ce31513a9114f74fe3e9caa6534d201bdac7238d (diff) | |
download | lwn-0eb45fc3bb7a2cf9c9c93d9e95986a841e5f4625.tar.gz lwn-0eb45fc3bb7a2cf9c9c93d9e95986a841e5f4625.zip |
ovl: Switch to generic_getxattr
Now that overlayfs has xattr handlers for iop->{set,remove}xattr, use
those same handlers for iop->getxattr as well.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/dir.c')
-rw-r--r-- | fs/overlayfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/dir.c b/fs/overlayfs/dir.c index 791c6a209656..1560fdc09a5f 100644 --- a/fs/overlayfs/dir.c +++ b/fs/overlayfs/dir.c @@ -1004,7 +1004,7 @@ const struct inode_operations ovl_dir_inode_operations = { .permission = ovl_permission, .getattr = ovl_dir_getattr, .setxattr = generic_setxattr, - .getxattr = ovl_getxattr, + .getxattr = generic_getxattr, .listxattr = ovl_listxattr, .removexattr = generic_removexattr, .get_acl = ovl_get_acl, |