summaryrefslogtreecommitdiffstats
path: root/drivers/staging/erofs/namei.c
diff options
context:
space:
mode:
authorGao Xiang2019-05-28 05:19:42 +0200
committerGreg Kroah-Hartman2019-05-30 22:59:10 +0200
commit89f27eded5b63c697287050d9ef5c713cde0af98 (patch)
tree3191174a0bc77115baaa85524fa109a17904dfb5 /drivers/staging/erofs/namei.c
parentMAINTAINERS: Add entry for anybuss drivers (diff)
downloadkernel-qcow2-linux-89f27eded5b63c697287050d9ef5c713cde0af98.tar.gz
kernel-qcow2-linux-89f27eded5b63c697287050d9ef5c713cde0af98.tar.xz
kernel-qcow2-linux-89f27eded5b63c697287050d9ef5c713cde0af98.zip
staging: erofs: support statx
statx() has already been supported in commit a528d35e8bfc ("statx: Add a system call to make enhanced file info available"), user programs can get more useful attributes. Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs/namei.c')
-rw-r--r--drivers/staging/erofs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/erofs/namei.c b/drivers/staging/erofs/namei.c
index d8d9dc9dab43..fd3ae78d0ba5 100644
--- a/drivers/staging/erofs/namei.c
+++ b/drivers/staging/erofs/namei.c
@@ -247,6 +247,7 @@ static struct dentry *erofs_lookup(struct inode *dir,
const struct inode_operations erofs_dir_iops = {
.lookup = erofs_lookup,
+ .getattr = erofs_getattr,
#ifdef CONFIG_EROFS_FS_XATTR
.listxattr = erofs_listxattr,
#endif