[CIFS] fix sparse warning
authorSteve French <sfrench@us.ibm.com>
Wed, 22 Jul 2009 23:13:01 +0000 (23:13 +0000)
committerSteve French <sfrench@us.ibm.com>
Wed, 22 Jul 2009 23:13:01 +0000 (23:13 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c

index b6a47b3..82d8383 100644 (file)
@@ -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
  * which represents a DFS referral).
  */
-void
+static void
 cifs_create_dfs_fattr(struct cifs_fattr *fattr, struct super_block *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 */
-void
+static void
 cifs_all_info_to_fattr(struct cifs_fattr *fattr, FILE_ALL_INFO *info,
                       struct cifs_sb_info *cifs_sb, bool adjust_tz)
 {