diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-05 12:23:19 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-05 12:23:19 -0700 |
commit | 6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b (patch) | |
tree | 186396bf1e71e981e033e4b5becc2ab6c47fcfca /fs/cifs/cifsproto.h | |
parent | 04c08816d693f010ce14b8f408c6228600053af0 (diff) | |
download | op-kernel-dev-6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b.zip op-kernel-dev-6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b.tar.gz |
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 fb3e760..d301149b1 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -54,6 +54,7 @@ extern int checkSMBhdr(struct smb_hdr *smb, __u16 mid); extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); extern int is_valid_oplock_break(struct smb_hdr *smb); extern int is_size_safe_to_change(struct cifsInodeInfo *); +extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *); extern unsigned int smbCalcSize(struct smb_hdr *ptr); extern unsigned int smbCalcSize_LE(struct smb_hdr *ptr); extern int decode_negTokenInit(unsigned char *security_blob, int length, |