summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky2012-09-19 01:20:27 +0200
committerSteve French2012-09-25 04:46:27 +0200
commit1d8c4c0009deda22b436b1f0ab9f2885863717fc (patch)
tree3bcc2e8df2ed96be3681854e7d86bdaa2e95be5a /fs/cifs/cifsglob.h
parentCIFS: Move reopen code to ops struct (diff)
downloadkernel-qcow2-linux-1d8c4c0009deda22b436b1f0ab9f2885863717fc.tar.gz
kernel-qcow2-linux-1d8c4c0009deda22b436b1f0ab9f2885863717fc.tar.xz
kernel-qcow2-linux-1d8c4c0009deda22b436b1f0ab9f2885863717fc.zip
CIFS: Make flush code use ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 500ecb921b85..abb831019039 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -274,6 +274,8 @@ struct smb_version_operations {
void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
/* close a file */
int (*close)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
+ /* send a flush request to the server */
+ int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
};
struct smb_version_values {