浏览代码

[CIFS] fix sparse warning

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 16 年之前
父节点
当前提交
f1230c9797
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/cifs/inode.c

+ 2 - 2
fs/cifs/inode.c

@@ -212,7 +212,7 @@ cifs_unix_basic_to_fattr(struct cifs_fattr *fattr, FILE_UNIX_BASIC_INFO *info,
  * junction to the new submount (ie to setup the fake directory
  * junction to the new submount (ie to setup the fake directory
  * which represents a DFS referral).
  * which represents a DFS referral).
  */
  */
-void
+static void
 cifs_create_dfs_fattr(struct cifs_fattr *fattr, struct super_block *sb)
 cifs_create_dfs_fattr(struct cifs_fattr *fattr, struct super_block *sb)
 {
 {
 	struct cifs_sb_info *cifs_sb = CIFS_SB(sb);
 	struct cifs_sb_info *cifs_sb = CIFS_SB(sb);
@@ -388,7 +388,7 @@ static int cifs_sfu_mode(struct cifs_fattr *fattr, const unsigned char *path,
 }
 }
 
 
 /* Fill a cifs_fattr struct with info from FILE_ALL_INFO */
 /* Fill a cifs_fattr struct with info from FILE_ALL_INFO */
-void
+static void
 cifs_all_info_to_fattr(struct cifs_fattr *fattr, FILE_ALL_INFO *info,
 cifs_all_info_to_fattr(struct cifs_fattr *fattr, FILE_ALL_INFO *info,
 		       struct cifs_sb_info *cifs_sb, bool adjust_tz)
 		       struct cifs_sb_info *cifs_sb, bool adjust_tz)
 {
 {