]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitff29fde84d1fc82f233c7da0daa3574a3942bec7
tree854e143d26493d2277e2a91c5dbdf6e7b54abf5d
parenta3a0819388b2bf15e7eafe38ff6aacfc27b12df0
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