diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-05 15:23:19 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-05 15:23:19 -0400 |
commit | 6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b (patch) | |
tree | 186396bf1e71e981e033e4b5becc2ab6c47fcfca /fs/cifs/cifsproto.h | |
parent | 04c08816d693f010ce14b8f408c6228600053af0 (diff) |
CIFS: Create routine find_writable_file to reduce redundant code
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index fb3e76043c50..d301149b1bb0 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -54,6 +54,7 @@ extern int checkSMBhdr(struct smb_hdr *smb, __u16 mid); | |||
54 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); | 54 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); |
55 | extern int is_valid_oplock_break(struct smb_hdr *smb); | 55 | extern int is_valid_oplock_break(struct smb_hdr *smb); |
56 | extern int is_size_safe_to_change(struct cifsInodeInfo *); | 56 | extern int is_size_safe_to_change(struct cifsInodeInfo *); |
57 | extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *); | ||
57 | extern unsigned int smbCalcSize(struct smb_hdr *ptr); | 58 | extern unsigned int smbCalcSize(struct smb_hdr *ptr); |
58 | extern unsigned int smbCalcSize_LE(struct smb_hdr *ptr); | 59 | extern unsigned int smbCalcSize_LE(struct smb_hdr *ptr); |
59 | extern int decode_negTokenInit(unsigned char *security_blob, int length, | 60 | extern int decode_negTokenInit(unsigned char *security_blob, int length, |