diff options
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r-- | fs/cifs/readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index f769292e2a93..9780f4ee7f12 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c | |||
@@ -368,7 +368,7 @@ static int initiate_cifs_search(const int xid, struct file *file) | |||
368 | return -EINVAL; | 368 | return -EINVAL; |
369 | 369 | ||
370 | down(&file->f_dentry->d_sb->s_vfs_rename_sem); | 370 | down(&file->f_dentry->d_sb->s_vfs_rename_sem); |
371 | full_path = build_path_from_dentry(file->f_dentry, cifs_sb); | 371 | full_path = build_path_from_dentry(file->f_dentry); |
372 | up(&file->f_dentry->d_sb->s_vfs_rename_sem); | 372 | up(&file->f_dentry->d_sb->s_vfs_rename_sem); |
373 | 373 | ||
374 | if(full_path == NULL) { | 374 | if(full_path == NULL) { |