diff options
author | Steve French <sfrench@us.ibm.com> | 2006-04-21 18:17:42 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-04-21 18:17:42 +0000 |
commit | 0bd4fa977f81c914eb8bada00284d0933825900e (patch) | |
tree | 398b2fea4b7902f53be9d0fc9d9c9c07d427dce1 /fs/cifs/fcntl.c | |
parent | f4ffaa452e71495a06376f12f772342bc57051fc (diff) | |
download | linux-0bd4fa977f81c914eb8bada00284d0933825900e.tar.gz linux-0bd4fa977f81c914eb8bada00284d0933825900e.tar.bz2 linux-0bd4fa977f81c914eb8bada00284d0933825900e.zip |
[CIFS] [CIFS] Do not take rename sem on most path based calls (during
building of full path) to avoid hang rename/readdir hang
Reported by Alan Tyson
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/fcntl.c')
-rw-r--r-- | fs/cifs/fcntl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/fcntl.c b/fs/cifs/fcntl.c index ec4dfe9bf5ef..633a93811328 100644 --- a/fs/cifs/fcntl.c +++ b/fs/cifs/fcntl.c @@ -86,9 +86,7 @@ int cifs_dir_notify(struct file * file, unsigned long arg) cifs_sb = CIFS_SB(file->f_dentry->d_sb); pTcon = cifs_sb->tcon; - mutex_lock(&file->f_dentry->d_sb->s_vfs_rename_mutex); full_path = build_path_from_dentry(file->f_dentry); - mutex_unlock(&file->f_dentry->d_sb->s_vfs_rename_mutex); if(full_path == NULL) { rc = -ENOMEM; |