commit | f58d0ea956113f537e43517eccfa33878a30cc4e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Sep 01 10:55:44 2020 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Sep 15 20:52:38 2020 -0700 |
tree | 25f39d47f0cdaf39b78101495346330e9b374574 | |
parent | 6a7584b1d82b7b9fcce02ee7aeddc58f9cebbccc [diff] |
xfs: refactor xfs_buf_ioerror_fail_without_retry xfs_buf_ioerror_fail_without_retry is a somewhat weird function in that it has two trivial checks that decide the return value, while the rest implements a ratelimited warning. Just lift the two checks into the caller, and give the remainder a suitable name. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>