diff options
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r-- | fs/cifs/link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c index ce7d4bbf3120..190bf0eb71b0 100644 --- a/fs/cifs/link.c +++ b/fs/cifs/link.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "cifsproto.h" | 28 | #include "cifsproto.h" |
29 | #include "cifs_debug.h" | 29 | #include "cifs_debug.h" |
30 | #include "cifs_fs_sb.h" | 30 | #include "cifs_fs_sb.h" |
31 | #include "cifs_unicode.h" | ||
31 | #ifdef CONFIG_CIFS_SMB2 | 32 | #ifdef CONFIG_CIFS_SMB2 |
32 | #include "smb2proto.h" | 33 | #include "smb2proto.h" |
33 | #endif | 34 | #endif |
@@ -566,8 +567,7 @@ cifs_hardlink(struct dentry *old_file, struct inode *inode, | |||
566 | if (tcon->unix_ext) | 567 | if (tcon->unix_ext) |
567 | rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, | 568 | rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, |
568 | cifs_sb->local_nls, | 569 | cifs_sb->local_nls, |
569 | cifs_sb->mnt_cifs_flags & | 570 | cifs_remap(cifs_sb)); |
570 | CIFS_MOUNT_MAP_SPECIAL_CHR); | ||
571 | else { | 571 | else { |
572 | server = tcon->ses->server; | 572 | server = tcon->ses->server; |
573 | if (!server->ops->create_hardlink) { | 573 | if (!server->ops->create_hardlink) { |