]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: return -EINVAL if given fsc mount option on kernel w/o support
authorJeff Layton <jlayton@kernel.org>
Thu, 7 Nov 2019 14:39:32 +0000 (09:39 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 7 Nov 2019 17:03:23 +0000 (18:03 +0100)
commit6516e9bad2a14e30f4e5eec6ee509720ee8266f8
tree854e143d26493d2277e2a91c5dbdf6e7b54abf5d
parente77a3ce8d44d963649c5d76bd48fa9e3ffe99da8
ceph: return -EINVAL if given fsc mount option on kernel w/o support

If someone requests fscache on the mount, and the kernel doesn't
support it, it should fail the mount.

[ Drop ceph prefix -- it's provided by pr_err. ]

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c