diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-19 03:20:27 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 06:46:27 +0400 |
commit | 1d8c4c0009deda22b436b1f0ab9f2885863717fc (patch) | |
tree | 3bcc2e8df2ed96be3681854e7d86bdaa2e95be5a /fs/cifs/cifsglob.h | |
parent | 2ae78ba85cd7b4c3a164434ab1f6c9e515c6fa1d (diff) | |
download | linux-1d8c4c0009deda22b436b1f0ab9f2885863717fc.tar.xz |
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.h | 2 |
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 { |