diff options
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index ce8014345258..db2a58c00f7b 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -724,17 +724,10 @@ static int cifs_ci_compare(const struct dentry *parent, | |||
724 | const struct dentry *dentry, const struct inode *inode, | 724 | const struct dentry *dentry, const struct inode *inode, |
725 | unsigned int len, const char *str, const struct qstr *name) | 725 | unsigned int len, const char *str, const struct qstr *name) |
726 | { | 726 | { |
727 | <<<<<<< HEAD | ||
728 | struct nls_table *codepage = CIFS_SB(dentry->d_inode->i_sb)->local_nls; | ||
729 | |||
730 | if ((a->len == b->len) && | ||
731 | (nls_strnicmp(codepage, a->name, b->name, a->len) == 0)) | ||
732 | ======= | ||
733 | struct nls_table *codepage = CIFS_SB(pinode->i_sb)->local_nls; | 727 | struct nls_table *codepage = CIFS_SB(pinode->i_sb)->local_nls; |
734 | 728 | ||
735 | if ((name->len == len) && | 729 | if ((name->len == len) && |
736 | (nls_strnicmp(codepage, name->name, str, len) == 0)) | 730 | (nls_strnicmp(codepage, name->name, str, len) == 0)) |
737 | >>>>>>> 0c21e3aaf6ae85bee804a325aa29c325209180fd | ||
738 | return 0; | 731 | return 0; |
739 | return 1; | 732 | return 1; |
740 | } | 733 | } |