diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-24 20:10:36 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-24 20:10:36 -0400 |
commit | ff5dbd9ead0d82466cab8bdbdcbc9666707d328a (patch) | |
tree | a0ba466993aa0470fa86d942a6de3bf88fa1d5e1 /fs/cifs/cifsglob.h | |
parent | e2a98a7543696306346ba8302a8df6cedf20fdfc (diff) |
[CIFS] Change notify support part 2
Signed-off-by: Asser Ferno <asser@diku.dk>
Signed-off-by: Steve French <sfrench@us.ibm.com> and lightly modified
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 9a3c85bdd77e..92fba7609e67 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -391,6 +391,20 @@ struct oplock_q_entry { | |||
391 | __u16 netfid; | 391 | __u16 netfid; |
392 | }; | 392 | }; |
393 | 393 | ||
394 | /* for pending dnotify requests */ | ||
395 | struct dir_notify_req { | ||
396 | struct list_head lhead; | ||
397 | __le16 Pid; | ||
398 | __le16 PidHigh; | ||
399 | __u16 Mid; | ||
400 | __u16 Tid; | ||
401 | __u16 Uid; | ||
402 | __u16 netfid; | ||
403 | __u32 filter; /* CompletionFilter (for multishot) */ | ||
404 | int multishot; | ||
405 | struct dentry * dentry; | ||
406 | }; | ||
407 | |||
394 | #define MID_FREE 0 | 408 | #define MID_FREE 0 |
395 | #define MID_REQUEST_ALLOCATED 1 | 409 | #define MID_REQUEST_ALLOCATED 1 |
396 | #define MID_REQUEST_SUBMITTED 2 | 410 | #define MID_REQUEST_SUBMITTED 2 |
@@ -459,6 +473,9 @@ GLOBAL_EXTERN rwlock_t GlobalSMBSeslock; /* protects list inserts on 3 above */ | |||
459 | 473 | ||
460 | GLOBAL_EXTERN struct list_head GlobalOplock_Q; | 474 | GLOBAL_EXTERN struct list_head GlobalOplock_Q; |
461 | 475 | ||
476 | GLOBAL_EXTERN struct list_head GlobalDnotifyReqList; /* Outstanding dir notify requests */ | ||
477 | GLOBAL_EXTERN struct list_head GlobalDnotifyRsp_Q; /* Dir notify response queue */ | ||
478 | |||
462 | /* | 479 | /* |
463 | * Global transaction id (XID) information | 480 | * Global transaction id (XID) information |
464 | */ | 481 | */ |