]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Use fs_* functions instead of pr_* function where we can
authorBob Peterson <rpeterso@redhat.com>
Wed, 3 Oct 2018 13:47:36 +0000 (08:47 -0500)
committerBob Peterson <rpeterso@redhat.com>
Fri, 5 Oct 2018 16:16:54 +0000 (11:16 -0500)
commiteb9f15d050111779dff375caf49fb0c755964f76
tree11cce8cb95ecd48c015f7f8d311154decdb90f9e
parent8d38f6056123f3bd780b9170f58d3e5676168e07
gfs2: Use fs_* functions instead of pr_* function where we can

Before this patch, various errors and messages were reported using
the pr_* functions: pr_err, pr_warn, pr_info, etc., but that does
not tell you which gfs2 mount had the problem, which is often vital
to debugging. This patch changes the calls from pr_* to fs_* in
most of the messages so that the file system id is printed along
with the message.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/dir.c
fs/gfs2/glock.c
fs/gfs2/lock_dlm.c
fs/gfs2/rgrp.c
fs/gfs2/trans.c
fs/gfs2/util.h