]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: clean up xfs_ioerror_alert
authorChristoph Hellwig <hch@infradead.org>
Mon, 10 Oct 2011 16:52:49 +0000 (16:52 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 11 Oct 2011 16:38:56 +0000 (11:38 -0500)
commit7638214c9061016036ad3ee53e6f529a75430aa0
tree779a0ed39fe7d37dc4bca752f6842355c22ac660
parentd54b997ac3e8eb4da692031a8becae81ce23f026
xfs: clean up xfs_ioerror_alert

Instead of passing the block number and mount structure explicitly
get them off the bp and fix make the argument order more natural.

Also move it to xfs_buf.c and stop printing the device name given
that we already get the fs name as part of xfs_alert, and we know
what device is operates on because of the caller that gets printed,
finally rename it to xfs_buf_ioerror_alert and pass __func__ as
argument where it makes sense.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_log.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_rw.c
fs/xfs/xfs_rw.h
fs/xfs/xfs_trans_buf.c
fs/xfs/xfs_vnodeops.c