diff mbox

[ext4] ext4 crypto: ext4_find_dest_de_crypt() can be static

Message ID 20150124003341.GA46929@lkp-sb04
State Not Applicable, archived
Headers show

Commit Message

kbuild test robot Jan. 24, 2015, 12:33 a.m. UTC
fs/ext4/namei.c:2056:5: sparse: symbol 'ext4_find_dest_de_crypt' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 0bd6758..7bbf0f9 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -2053,7 +2053,7 @@  journal_error:
 }
 
 #ifdef CONFIG_EXT4_FS_ENCRYPTION
-int ext4_find_dest_de_crypt(struct inode *dir, struct inode *inode,
+static int ext4_find_dest_de_crypt(struct inode *dir, struct inode *inode,
 			    struct buffer_head *bh,
 			    void *buf, int buf_size,
 			    const char *name, int namelen,