fs: port ->getattr() to pass mnt_idmap
[linux-block.git] / fs / overlayfs / overlayfs.h
index 4cd435aabbb48fc4d8a514131d906443d4fdc9b3..b6e17f631b539b2d678e41d935364db27274d8ba 100644 (file)
@@ -599,7 +599,7 @@ unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry,
                           unsigned int fallback);
 int ovl_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
                struct iattr *attr);
-int ovl_getattr(struct user_namespace *mnt_userns, const struct path *path,
+int ovl_getattr(struct mnt_idmap *idmap, const struct path *path,
                struct kstat *stat, u32 request_mask, unsigned int flags);
 int ovl_permission(struct user_namespace *mnt_userns, struct inode *inode,
                   int mask);