diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 808b5a69f028..4e7610357d89 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -3027,7 +3027,7 @@ int ceph_getattr(struct mnt_idmap *idmap, const struct path *path, return err; } - generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); + generic_fillattr(idmap, request_mask, inode, stat); stat->ino = ceph_present_inode(inode); /*