git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
fs
/
cifs
/
fcntl.c
diff --git
a/fs/cifs/fcntl.c
b/fs/cifs/fcntl.c
index
633a938
..
a7a47bb
100644
(file)
--- a/
fs/cifs/fcntl.c
+++ b/
fs/cifs/fcntl.c
@@
-86,7
+86,9
@@
int cifs_dir_notify(struct file * file, unsigned long arg)
cifs_sb = CIFS_SB(file->f_dentry->d_sb);
pTcon = cifs_sb->tcon;
+ down(&file->f_dentry->d_sb->s_vfs_rename_sem);
full_path = build_path_from_dentry(file->f_dentry);
+ up(&file->f_dentry->d_sb->s_vfs_rename_sem);
if(full_path == NULL) {
rc = -ENOMEM;