fs: pass the request_mask to generic_fillattr
[linux-2.6-block.git] / fs / nfs / namespace.c
index 19d51ebf842c017a281780559b08291d40b001bc..e7494cdd957e51bfc830df03dc2f74c8848d1f45 100644 (file)
@@ -215,7 +215,8 @@ nfs_namespace_getattr(struct mnt_idmap *idmap,
        if (NFS_FH(d_inode(path->dentry))->size != 0)
                return nfs_getattr(idmap, path, stat, request_mask,
                                   query_flags);
-       generic_fillattr(&nop_mnt_idmap, d_inode(path->dentry), stat);
+       generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(path->dentry),
+                        stat);
        return 0;
 }