]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/exportfs/expfs.c
Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / exportfs / expfs.c
index 9ec1038f937e8610fa6927ce86b8bb63c76fcc59..329a5d103846145714d443389508696632ce3b24 100644 (file)
@@ -300,7 +300,8 @@ static int get_name(const struct path *path, char *name, struct dentry *child)
         * filesystem supports 64-bit inode numbers.  So we need to
         * actually call ->getattr, not just read i_ino:
         */
-       error = vfs_getattr_nosec(&child_path, &stat);
+       error = vfs_getattr_nosec(&child_path, &stat,
+                                 STATX_INO, AT_STATX_SYNC_AS_STAT);
        if (error)
                return error;
        buffer.ino = stat.ino;