diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-30 20:32:14 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-30 20:32:14 +0200 |
commit | 7f57356b70dda014ef269135942426e4a852023e (patch) | |
tree | fe17d0aa1882984eb9120389fde048616161f2aa /fs/cifs/readdir.c | |
parent | [CIFS] Support for legacy servers part 3 - Add support for Open and most (diff) | |
download | linux-7f57356b70dda014ef269135942426e4a852023e.tar.xz linux-7f57356b70dda014ef269135942426e4a852023e.zip |
[CIFS] Remove cifs_sb argument from *build_path_from_dentry
This argument was added in a recent patch, but is unnecessary, since
the superblock is easily obtained from the dentry.
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
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) return -EINVAL; down(&file->f_dentry->d_sb->s_vfs_rename_sem); - full_path = build_path_from_dentry(file->f_dentry, cifs_sb); + full_path = build_path_from_dentry(file->f_dentry); up(&file->f_dentry->d_sb->s_vfs_rename_sem); if(full_path == NULL) { |