[PATCH] cifs: cleanup of ifdefs usage so it is more consistent
And fix to not needlessly send new POSIX QFSInfo when server does not explicitly claim support for the new protocol extensions. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
f28ac91b05
commit
c81156dd21
@@ -318,7 +318,9 @@ struct mid_q_entry {
|
||||
struct task_struct *tsk; /* task waiting for response */
|
||||
struct smb_hdr *resp_buf; /* response buffer */
|
||||
int midState; /* wish this were enum but can not pass to wait_event */
|
||||
__u8 command; /* smb command code */
|
||||
__u8 command; /* smb command code */
|
||||
unsigned multiPart:1; /* multiple responses to one SMB request */
|
||||
unsigned largeBuf:1; /* if valid response, is pointer to large buf */
|
||||
};
|
||||
|
||||
struct oplock_q_entry {
|
||||
|
Reference in New Issue
Block a user