aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2012-11-28 23:34:41 -0500
committerSteve French <smfrench@gmail.com>2012-12-05 14:27:28 -0500
commit6d3ea7e4975aed451fbee4dea2fef63b0de8cb4f (patch)
tree499881d40ec894a38bf017328fb48ebbaa30ec1b /fs/cifs/cifsfs.c
parente5e69abd058b3fcfd484dbe1c632347332cda9b6 (diff)
CIFS: Make use of common cifs_build_path_to_root for CIFS and SMB2
because the is no difference here. This also adds support of prefixpath mount option for SMB2. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 07a8ab527c3a..273b34904d5b 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -539,8 +539,8 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)
539 char *s, *p; 539 char *s, *p;
540 char sep; 540 char sep;
541 541
542 full_path = build_path_to_root(vol, cifs_sb, 542 full_path = cifs_build_path_to_root(vol, cifs_sb,
543 cifs_sb_master_tcon(cifs_sb)); 543 cifs_sb_master_tcon(cifs_sb));
544 if (full_path == NULL) 544 if (full_path == NULL)
545 return ERR_PTR(-ENOMEM); 545 return ERR_PTR(-ENOMEM);
546 546