]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/9p/vfs_inode.c
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / 9p / vfs_inode.c
index e3e0d6581d4cd64f95f1aae26daddbda7422fe3e..2a5de610dd8fd5f0e905046f7752127543d687f2 100644 (file)
@@ -1047,16 +1047,18 @@ done:
 
 /**
  * v9fs_vfs_getattr - retrieve file metadata
- * @mnt: mount information
- * @dentry: file to get attributes on
+ * @path: Object to query
  * @stat: metadata structure to populate
+ * @request_mask: Mask of STATX_xxx flags indicating the caller's interests
+ * @flags: AT_STATX_xxx setting
  *
  */
 
 static int
-v9fs_vfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
-                struct kstat *stat)
+v9fs_vfs_getattr(const struct path *path, struct kstat *stat,
+                u32 request_mask, unsigned int flags)
 {
+       struct dentry *dentry = path->dentry;
        struct v9fs_session_info *v9ses;
        struct p9_fid *fid;
        struct p9_wstat *st;