diff options
author | Jeremy Allison <jra@samba.org> | 2005-06-22 20:26:35 -0400 |
---|---|---|
committer | Steve French <sfrench@hera.kernel.org> | 2005-06-22 20:26:35 -0400 |
commit | ac67055ef2378ea95c34b593ddf9d0a0737a240a (patch) | |
tree | 78f76cde63f158b318a57a3972a77731d8fb0ef6 /fs/cifs/readdir.c | |
parent | dfb7533b5f157ac7135da23883e80d895227d965 (diff) |
[CIFS] POSIX extensions, SetFSInfo added
Signed-off-by: Steve French@sfrench@us.ibm.com
Signed-off-by: Jeremy Allison (jra@samba.org)
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r-- | fs/cifs/readdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 487221eeddb7..42310281871c 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c | |||
@@ -354,7 +354,7 @@ static int initiate_cifs_search(const int xid, struct file *file) | |||
354 | return -EINVAL; | 354 | return -EINVAL; |
355 | 355 | ||
356 | down(&file->f_dentry->d_sb->s_vfs_rename_sem); | 356 | down(&file->f_dentry->d_sb->s_vfs_rename_sem); |
357 | full_path = build_path_from_dentry(file->f_dentry); | 357 | full_path = build_path_from_dentry(file->f_dentry, cifs_sb); |
358 | up(&file->f_dentry->d_sb->s_vfs_rename_sem); | 358 | up(&file->f_dentry->d_sb->s_vfs_rename_sem); |
359 | 359 | ||
360 | if(full_path == NULL) { | 360 | if(full_path == NULL) { |
@@ -375,7 +375,7 @@ ffirst_retry: | |||
375 | 375 | ||
376 | rc = CIFSFindFirst(xid, pTcon,full_path,cifs_sb->local_nls, | 376 | rc = CIFSFindFirst(xid, pTcon,full_path,cifs_sb->local_nls, |
377 | &cifsFile->netfid, &cifsFile->srch_inf, | 377 | &cifsFile->netfid, &cifsFile->srch_inf, |
378 | cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); | 378 | cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR, CIFS_DIR_SEP(cifs_sb)); |
379 | if(rc == 0) | 379 | if(rc == 0) |
380 | cifsFile->invalidHandle = FALSE; | 380 | cifsFile->invalidHandle = FALSE; |
381 | if((rc == -EOPNOTSUPP) && | 381 | if((rc == -EOPNOTSUPP) && |