]> asedeno.scripts.mit.edu Git - linux.git/commit
ceph: tone down loglevel on ceph_mdsc_build_path warning
authorJeff Layton <jlayton@kernel.org>
Wed, 16 Oct 2019 12:20:17 +0000 (08:20 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 25 Nov 2019 10:44:02 +0000 (11:44 +0100)
commitf5946bcc5e79038f9f7cb66ec25bd3b2d39b2775
treea0df9bb37421ba79d6a8bf1a4f8b95a84eb5b199
parenta9b4b6be1291dbbbad0207aaaee654b3db253714
ceph: tone down loglevel on ceph_mdsc_build_path warning

When this occurs, it usually means that we raced with a rename, and
there is no need to warn in that case.  Only printk if we pass the
rename sequence check but still ended up with pos < 0.

Either way, this doesn't warrant a KERN_ERR message. Change it to
KERN_WARNING.

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