diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-30 14:32:14 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-30 14:32:14 -0400 |
commit | 7f57356b70dda014ef269135942426e4a852023e (patch) | |
tree | fe17d0aa1882984eb9120389fde048616161f2aa /fs/cifs/file.c | |
parent | a9d02ad49013c8fc527f06ca66417103cdbb08b6 (diff) |
[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/file.c')
-rw-r--r-- | fs/cifs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 8ae962e7c93f..026b5c5ccc89 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -196,7 +196,7 @@ int cifs_open(struct inode *inode, struct file *file) | |||
196 | } | 196 | } |
197 | 197 | ||
198 | down(&inode->i_sb->s_vfs_rename_sem); | 198 | down(&inode->i_sb->s_vfs_rename_sem); |
199 | full_path = build_path_from_dentry(file->f_dentry, cifs_sb); | 199 | full_path = build_path_from_dentry(file->f_dentry); |
200 | up(&inode->i_sb->s_vfs_rename_sem); | 200 | up(&inode->i_sb->s_vfs_rename_sem); |
201 | if (full_path == NULL) { | 201 | if (full_path == NULL) { |
202 | FreeXid(xid); | 202 | FreeXid(xid); |
@@ -366,7 +366,7 @@ static int cifs_reopen_file(struct inode *inode, struct file *file, | |||
366 | those that already have the rename sem can end up causing writepage | 366 | those that already have the rename sem can end up causing writepage |
367 | to get called and if the server was down that means we end up here, | 367 | to get called and if the server was down that means we end up here, |
368 | and we can never tell if the caller already has the rename_sem */ | 368 | and we can never tell if the caller already has the rename_sem */ |
369 | full_path = build_path_from_dentry(file->f_dentry, cifs_sb); | 369 | full_path = build_path_from_dentry(file->f_dentry); |
370 | if (full_path == NULL) { | 370 | if (full_path == NULL) { |
371 | up(&pCifsFile->fh_sem); | 371 | up(&pCifsFile->fh_sem); |
372 | FreeXid(xid); | 372 | FreeXid(xid); |