aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-09-15 23:44:50 -0400
committerSteve French <sfrench@us.ibm.com>2005-09-15 23:44:50 -0400
commitab2f218f4fa2c36ecd39ac1406eec1e63cd430bd (patch)
tree80a361ff0417e1a9733fd49cbb133797854da264 /fs/cifs/cifsglob.h
parent9a899e76683639486846ce17dbaa0c2ec1ae5ab5 (diff)
[CIFS] Fix compiler warnings
Fix some compiler warnings noticed on x64 by me and ppc64 by Shaggy Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index a9c791edede5..cd421c76805e 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -331,7 +331,7 @@ CIFS_SB(struct super_block *sb)
331 return sb->s_fs_info; 331 return sb->s_fs_info;
332} 332}
333 333
334static inline const char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) 334static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb)
335{ 335{
336 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) 336 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)
337 return '/'; 337 return '/';