projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea95961
)
xfs: xfs_buf_write_fail_rl_state can be static
author
Dave Chinner
<david@fromorbit.com>
Tue, 23 Sep 2014 06:15:45 +0000
(16:15 +1000)
committer
Dave Chinner
<david@fromorbit.com>
Tue, 23 Sep 2014 06:15:45 +0000
(16:15 +1000)
Fix sparse warning introduced by commit
ac8809f9
("xfs: abort
metadata writeback on permanent errors").
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_buf_item.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_buf_item.c
b/fs/xfs/xfs_buf_item.c
index 76007deed31fe4455d80956f5debf82faa8baf96..30fa5db9aea8175af42ff4c2eb8a1134b33c132f 100644
(file)
--- a/
fs/xfs/xfs_buf_item.c
+++ b/
fs/xfs/xfs_buf_item.c
@@
-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(