diff options
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index bcf7b5184664..7342bfb02ae0 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -621,7 +621,7 @@ static const struct inode_operations cifs_ipc_inode_ops = { | |||
621 | .lookup = cifs_lookup, | 621 | .lookup = cifs_lookup, |
622 | }; | 622 | }; |
623 | 623 | ||
624 | static char *build_path_to_root(struct cifs_sb_info *cifs_sb) | 624 | char *cifs_build_path_to_root(struct cifs_sb_info *cifs_sb) |
625 | { | 625 | { |
626 | int pplen = cifs_sb->prepathlen; | 626 | int pplen = cifs_sb->prepathlen; |
627 | int dfsplen; | 627 | int dfsplen; |
@@ -678,7 +678,7 @@ struct inode *cifs_iget(struct super_block *sb, unsigned long ino) | |||
678 | return inode; | 678 | return inode; |
679 | 679 | ||
680 | cifs_sb = CIFS_SB(inode->i_sb); | 680 | cifs_sb = CIFS_SB(inode->i_sb); |
681 | full_path = build_path_to_root(cifs_sb); | 681 | full_path = cifs_build_path_to_root(cifs_sb); |
682 | if (full_path == NULL) | 682 | if (full_path == NULL) |
683 | return ERR_PTR(-ENOMEM); | 683 | return ERR_PTR(-ENOMEM); |
684 | 684 | ||