]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix duplicate message output
authorDave Chinner <dchinner@redhat.com>
Tue, 12 Apr 2011 13:34:20 +0000 (13:34 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 20 Apr 2011 16:36:49 +0000 (11:36 -0500)
commitf2de42741393c28e58015212254c334b8df176a7
tree8299f6a1e6c5eefcc8597f232146e11b06aad922
parent4ac80a4fa15e01b0c69e225fce09539cab4a280b
xfs: fix duplicate message output

Commit 438b0140 ("xfs: fix xfs_debug warnings" broke the logic in
__xfs_printk(). Instead of only printing one of two possible output
strings based on whether the fs has a name or not, it outputs both.
Fix it to only output one message again.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_message.c