diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-24 23:03:11 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-24 23:03:11 -0400 |
commit | 167a251ad6678ad26aa3cf27bab677b274374ab6 (patch) | |
tree | 3db2a878de70d180d634d06e5ddf8dc325230e40 /fs/cifs/fcntl.c | |
parent | abb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af (diff) |
[CIFS] Change notify support part 3
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/fcntl.c')
-rw-r--r-- | fs/cifs/fcntl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/cifs/fcntl.c b/fs/cifs/fcntl.c index d47ce7f49dc3..2e5137b7352a 100644 --- a/fs/cifs/fcntl.c +++ b/fs/cifs/fcntl.c | |||
@@ -100,8 +100,10 @@ int cifs_dir_notify(struct file * file, unsigned long arg) | |||
100 | } else { | 100 | } else { |
101 | filter = convert_to_cifs_notify_flags(arg); | 101 | filter = convert_to_cifs_notify_flags(arg); |
102 | if(filter != 0) { | 102 | if(filter != 0) { |
103 | rc = CIFSSMBNotify(xid, pTcon, 0 /* no subdirs */, netfid, | 103 | rc = CIFSSMBNotify(xid, pTcon, |
104 | filter, cifs_sb->local_nls); | 104 | 0 /* no subdirs */, netfid, |
105 | filter, file, arg & DN_MULTISHOT, | ||
106 | cifs_sb->local_nls); | ||
105 | } else { | 107 | } else { |
106 | rc = -EINVAL; | 108 | rc = -EINVAL; |
107 | } | 109 | } |
@@ -109,7 +111,7 @@ int cifs_dir_notify(struct file * file, unsigned long arg) | |||
109 | it would close automatically but may be a way | 111 | it would close automatically but may be a way |
110 | to do it easily when inode freed or when | 112 | to do it easily when inode freed or when |
111 | notify info is cleared/changed */ | 113 | notify info is cleared/changed */ |
112 | cERROR(1,("notify rc %d",rc)); | 114 | cFYI(1,("notify rc %d",rc)); |
113 | } | 115 | } |
114 | } | 116 | } |
115 | 117 | ||