diff options
author | Steve French <sfrench@us.ibm.com> | 2007-09-28 18:28:55 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-09-28 18:28:55 -0400 |
commit | 7f8ed420f80c91176dfd27c8089f22cab5c9ba78 (patch) | |
tree | bd3cea6554c3e59230c83fa7e9912740e178b00c /fs/cifs/cifsglob.h | |
parent | 407f61a2b482ab9a6d03549ab9513e4a823ae4a2 (diff) |
[CIFS] CIFS support for named pipes (part 1)
This allows cifs to mount to ipc shares (IPC$)
which will allow user space applications to
layer over authenticated cifs connections
(useful for Wine and others that would want
to put DCE/RPC over CIFS or run CIFS named
pipes)
Acked-by: Rob Shearman <rob@codeweavers.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index bb468de4f47..f55be8efa26 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -291,6 +291,7 @@ struct cifsTconInfo { | |||
291 | FILE_SYSTEM_DEVICE_INFO fsDevInfo; | 291 | FILE_SYSTEM_DEVICE_INFO fsDevInfo; |
292 | FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if fs name truncated */ | 292 | FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if fs name truncated */ |
293 | FILE_SYSTEM_UNIX_INFO fsUnixInfo; | 293 | FILE_SYSTEM_UNIX_INFO fsUnixInfo; |
294 | unsigned ipc:1; /* set if connection to IPC$ eg for RPC/PIPES */ | ||
294 | unsigned retry:1; | 295 | unsigned retry:1; |
295 | unsigned nocase:1; | 296 | unsigned nocase:1; |
296 | unsigned unix_ext:1; /* if off disable Linux extensions to CIFS protocol | 297 | unsigned unix_ext:1; /* if off disable Linux extensions to CIFS protocol |
@@ -341,6 +342,7 @@ struct cifsFileInfo { | |||
341 | struct list_head llist; /* list of byte range locks we have. */ | 342 | struct list_head llist; /* list of byte range locks we have. */ |
342 | unsigned closePend:1; /* file is marked to close */ | 343 | unsigned closePend:1; /* file is marked to close */ |
343 | unsigned invalidHandle:1; /* file closed via session abend */ | 344 | unsigned invalidHandle:1; /* file closed via session abend */ |
345 | unsigned messageMode:1 /* for pipes: is message or byte mode */ | ||
344 | atomic_t wrtPending; /* handle in use - defer close */ | 346 | atomic_t wrtPending; /* handle in use - defer close */ |
345 | struct semaphore fh_sem; /* prevents reopen race after dead ses*/ | 347 | struct semaphore fh_sem; /* prevents reopen race after dead ses*/ |
346 | char *search_resume_name; /* BB removeme BB */ | 348 | char *search_resume_name; /* BB removeme BB */ |