summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r--fs/f2fs/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 78e65288f2b2..5f7317875a67 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -633,10 +633,10 @@ int f2fs_truncate(struct inode *inode)
633 return 0; 633 return 0;
634} 634}
635 635
636int f2fs_getattr(struct vfsmount *mnt, 636int f2fs_getattr(const struct path *path, struct kstat *stat,
637 struct dentry *dentry, struct kstat *stat) 637 u32 request_mask, unsigned int flags)
638{ 638{
639 struct inode *inode = d_inode(dentry); 639 struct inode *inode = d_inode(path->dentry);
640 generic_fillattr(inode, stat); 640 generic_fillattr(inode, stat);
641 stat->blocks <<= 3; 641 stat->blocks <<= 3;
642 return 0; 642 return 0;