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)
commit3eff1268994f72266b660782e87f215720c29639
tree8299f6a1e6c5eefcc8597f232146e11b06aad922
parentf0e615c3cb72b42191b558c130409335812621d8
xfs: fix duplicate message output

Commit 957935dc ("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