From: Christoph Hellwig Date: Mon, 10 Oct 2011 16:52:49 +0000 (+0000) Subject: xfs: clean up xfs_ioerror_alert X-Git-Tag: v3.2-rc1~134^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=901796afca0d31d97bf6d1bf2ab251a93a4b8c83;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- Reading git-diff-tree failed