diff options
author | Jim McDonough <jmcd@samba.org> | 2009-04-17 09:28:01 +0200 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2009-04-17 09:28:01 +0200 |
commit | 1214bf606d1cdf3f33b91ffe7cb4c349ce737d68 (patch) | |
tree | 7294165dc644ddc3860831f02578c63dad7770ef /source3/smbd/files.c | |
parent | 75ccf934ac09e5af68cfd5afdd75a1b32ca24287 (diff) | |
parent | 05ea8daacabe62b6c20770a8518192c44e7eb763 (diff) | |
download | samba-1214bf606d1cdf3f33b91ffe7cb4c349ce737d68.tar.gz samba-1214bf606d1cdf3f33b91ffe7cb4c349ce737d68.tar.bz2 samba-1214bf606d1cdf3f33b91ffe7cb4c349ce737d68.zip |
Merge branch 'master' of /home/jmcd/samba/git.samba.org/samba-master into mymaster
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r-- | source3/smbd/files.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 36e80a086a..d2ea520146 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -433,6 +433,10 @@ void file_free(struct smb_request *req, files_struct *fsp) } if (fsp->notify) { + if (fsp->is_directory) { + notify_remove_onelevel(fsp->conn->notify_ctx, + &fsp->file_id, fsp); + } notify_remove(fsp->conn->notify_ctx, fsp); TALLOC_FREE(fsp->notify); } |