summaryrefslogtreecommitdiff
path: root/fs/cifs/fcntl.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-30 22:32:14 +0400
committerSteve French <sfrench@us.ibm.com>2005-08-30 22:32:14 +0400
commit7f57356b70dda014ef269135942426e4a852023e (patch)
treefe17d0aa1882984eb9120389fde048616161f2aa /fs/cifs/fcntl.c
parenta9d02ad49013c8fc527f06ca66417103cdbb08b6 (diff)
downloadlinux-7f57356b70dda014ef269135942426e4a852023e.tar.xz
[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/fcntl.c')
-rw-r--r--fs/cifs/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/fcntl.c b/fs/cifs/fcntl.c
index 2e5137b7352a..d527e2c76073 100644
--- a/fs/cifs/fcntl.c
+++ b/fs/cifs/fcntl.c
@@ -83,7 +83,7 @@ int cifs_dir_notify(struct file * file, unsigned long arg)
pTcon = cifs_sb->tcon;
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) {