Commit 02cc1876 authored by Dave Chinner's avatar Dave Chinner
Browse files

xfs: xfs_buf_write_fail_rl_state can be static

Fix sparse warning introduced by commit ac8809f9

 ("xfs: abort
metadata writeback on permanent errors").
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent ea95961d
......@@ -501,7 +501,7 @@ xfs_buf_item_unpin(
* buffer being bad..
*/
DEFINE_RATELIMIT_STATE(xfs_buf_write_fail_rl_state, 30 * HZ, 10);
static DEFINE_RATELIMIT_STATE(xfs_buf_write_fail_rl_state, 30 * HZ, 10);
STATIC uint
xfs_buf_item_push(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment