summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorSteve French2014-07-20 04:44:58 +0200
committerSteve French2014-08-05 19:53:37 +0200
commitf29ebb47d5bb59ef246966b047356c03629a9705 (patch)
tree1f76c55754b4c69384eb0c101644fbb548f117fd /fs/cifs/smb2proto.h
parent[CIFS] Fix incorrect hex vs. decimal in some debug print statements (diff)
downloadkernel-qcow2-linux-f29ebb47d5bb59ef246966b047356c03629a9705.tar.gz
kernel-qcow2-linux-f29ebb47d5bb59ef246966b047356c03629a9705.tar.xz
kernel-qcow2-linux-f29ebb47d5bb59ef246966b047356c03629a9705.zip
Add worker function to set allocation size
Adds setinfo worker function for SMB2/SMB3 support of SET_ALLOCATION_INFORMATION Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r--fs/cifs/smb2proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index 0ce48db20a65..67e8ce8055de 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -139,7 +139,7 @@ extern int SMB2_set_hardlink(const unsigned int xid, struct cifs_tcon *tcon,
__le16 *target_file);
extern int SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon,
u64 persistent_fid, u64 volatile_fid, u32 pid,
- __le64 *eof);
+ __le64 *eof, bool is_fallocate);
extern int SMB2_set_info(const unsigned int xid, struct cifs_tcon *tcon,
u64 persistent_fid, u64 volatile_fid,
FILE_BASIC_INFO *buf);