]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: define printk_once variants for xfs messages
authorEric Sandeen <sandeen@redhat.com>
Mon, 27 Apr 2020 18:00:42 +0000 (11:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:15 +0000 (09:03 -0700)
commitc054e1c160d1d1d02871b15751fc33d4b1fa539b
tree101eb5a44b874864860f05057076fd5eb42d5f29
parent51986fc254837d3ca6dc3b09e33fcefcf83c7fff
xfs: define printk_once variants for xfs messages

There are a couple places where we directly call printk_once() and one
of them doesn't follow the standard xfs subsystem printk format as a
result.

#define printk_once variants to go with our existing printk_ratelimited
#defines so we can do one-shot printks in a consistent manner.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_message.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_pnfs.c