stat: handle idmapped mounts
[linux-block.git] / fs / hfsplus / inode.c
index ffa137f8234eda94f614f7abcf674bd8076e25db..642e067d8fe8a11bbabc4b49b576569e6696557d 100644 (file)
@@ -286,7 +286,7 @@ int hfsplus_getattr(const struct path *path, struct kstat *stat,
        stat->attributes_mask |= STATX_ATTR_APPEND | STATX_ATTR_IMMUTABLE |
                                 STATX_ATTR_NODUMP;
 
-       generic_fillattr(inode, stat);
+       generic_fillattr(&init_user_ns, inode, stat);
        return 0;
 }