aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/fcntl.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-24 20:03:11 -0700
committerSteve French <sfrench@us.ibm.com>2005-08-24 20:03:11 -0700
commit167a251ad6678ad26aa3cf27bab677b274374ab6 (patch)
tree3db2a878de70d180d634d06e5ddf8dc325230e40 /fs/cifs/fcntl.c
parentabb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af (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.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/cifs/fcntl.c b/fs/cifs/fcntl.c
index d47ce7f49dc..2e5137b7352 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)
} else {
filter = convert_to_cifs_notify_flags(arg);
if(filter != 0) {
- rc = CIFSSMBNotify(xid, pTcon, 0 /* no subdirs */, netfid,
- filter, cifs_sb->local_nls);
+ rc = CIFSSMBNotify(xid, pTcon,
+ 0 /* no subdirs */, netfid,
+ filter, file, arg & DN_MULTISHOT,
+ cifs_sb->local_nls);
} else {
rc = -EINVAL;
}
@@ -109,7 +111,7 @@ int cifs_dir_notify(struct file * file, unsigned long arg)
it would close automatically but may be a way
to do it easily when inode freed or when
notify info is cleared/changed */
- cERROR(1,("notify rc %d",rc));
+ cFYI(1,("notify rc %d",rc));
}
}