ceph: check if mds create snaprealm when setting quota
authorYan, Zheng <zyan@redhat.com>
Sun, 8 Apr 2018 01:54:39 +0000 (09:54 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 23 Apr 2018 15:35:19 +0000 (17:35 +0200)
commitf1919826896c82b6af9c46f69e02f2bc04df4be7
tree341881dd9dbe110e1b2795b8597fc3c3010f7ad8
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e
ceph: check if mds create snaprealm when setting quota

If mds does not, return -EOPNOTSUPP.

Link: http://tracker.ceph.com/issues/23491
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/xattr.c