summaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/addr.c')
-rw-r--r--fs/ceph/addr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index c22213789090..19adeb0ef82a 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -1756,6 +1756,10 @@ int ceph_pool_perm_check(struct ceph_inode_info *ci, int need)
1756 u32 pool; 1756 u32 pool;
1757 int ret, flags; 1757 int ret, flags;
1758 1758
1759 /* does not support pool namespace yet */
1760 if (ci->i_pool_ns_len)
1761 return -EIO;
1762
1759 if (ceph_test_mount_opt(ceph_inode_to_client(&ci->vfs_inode), 1763 if (ceph_test_mount_opt(ceph_inode_to_client(&ci->vfs_inode),
1760 NOPOOLPERM)) 1764 NOPOOLPERM))
1761 return 0; 1765 return 0;