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

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

 



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@xxxxxxxxx>
---
 namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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