[RFC] Ext4: bigalloc: __ext4_es_find_range_type() can be static

Message ID 20180507204719.GA127841@ivb43
State New
Headers show
Series
  • [RFC] Ext4: bigalloc: __ext4_es_find_range_type() can be static
Related show

Commit Message

kbuild test robot May 7, 2018, 8:47 p.m.
Fixes: a5cd9de0522c ("Ext4: bigalloc: do not reserve space for delalloc extents if there is an available cluster")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 extents_status.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
index c828c04..460ccfa 100644
--- a/fs/ext4/extents_status.c
+++ b/fs/ext4/extents_status.c
@@ -233,10 +233,10 @@  static struct extent_status *__es_tree_search(struct rb_root *root,
 	return NULL;
 }
 
-void __ext4_es_find_range_type(struct inode *inode,
-			       ext4_lblk_t lblk, ext4_lblk_t end,
-			       struct extent_status *es,
-			       ext4_es_istype_t *ext4_es_istype)
+static void __ext4_es_find_range_type(struct inode *inode,
+				      ext4_lblk_t lblk, ext4_lblk_t end,
+				      struct extent_status *es,
+				      ext4_es_istype_t *ext4_es_istype)
 {
 	struct ext4_es_tree *tree = NULL;
 	struct extent_status *es1 = NULL;