diff options
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 6f3968a5fea4..c3510168438e 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -413,6 +413,12 @@ CIFS_SB(struct super_block *sb) | |||
413 | return sb->s_fs_info; | 413 | return sb->s_fs_info; |
414 | } | 414 | } |
415 | 415 | ||
416 | static inline struct cifsTconInfo * | ||
417 | cifs_sb_tcon(struct cifs_sb_info *cifs_sb) | ||
418 | { | ||
419 | return cifs_sb->tcon; | ||
420 | } | ||
421 | |||
416 | static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) | 422 | static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) |
417 | { | 423 | { |
418 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) | 424 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) |