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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: a5cd9de0522c ("Ext4: bigalloc: do not reserve space for delalloc extents if there is an available cluster")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
 extents_status.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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;



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux