]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2019 21:33:58 +0000 (22:33 +0100)
commit54183e1bd28df076b9561d03633dc6b240be0c5c
treed52f44f2d78cd1bfaf57049d454491c48cb19929
parentf206265997b729b5a78eb53007d127a540f3a482
ceph: return -EINVAL if given fsc mount option on kernel w/o support

[ Upstream commit ff29fde84d1fc82f233c7da0daa3574a3942bec7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ceph/super.c