2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00

ceph: demote quotarealm lookup warning to a debug message

A misconfigured cephx can easily result in having the kernel client
flooding the logs with:

  ceph: Can't lookup inode 1 (err: -13)

Change this message to debug level.

Cc: stable@vger.kernel.org
URL: https://tracker.ceph.com/issues/44546
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Luis Henriques 2020-05-05 13:59:02 +01:00 committed by Ilya Dryomov
parent 3a5ccecd9a
commit 12ae44a40a

View File

@ -159,8 +159,8 @@ static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc,
} }
if (IS_ERR(in)) { if (IS_ERR(in)) {
pr_warn("Can't lookup inode %llx (err: %ld)\n", dout("Can't lookup inode %llx (err: %ld)\n",
realm->ino, PTR_ERR(in)); realm->ino, PTR_ERR(in));
qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */ qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */
} else { } else {
qri->timeout = 0; qri->timeout = 0;