summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syncop.h
diff options
context:
space:
mode:
authorKinglong Mee <mijinlong@open-fs.com>2018-01-18 15:51:18 +0800
committerAmar Tumballi <amarts@redhat.com>2018-02-12 21:34:46 +0000
commit09943beb499617212f2985ca8ea9ecd1ed1b470e (patch)
tree49e9f10bfbb66f4ea52f0a9ed3392d9fb69c072b /libglusterfs/src/syncop.h
parentd01f7244e9d9f7e3ef84e0ba7b48ef1b1b09d809 (diff)
gfapi: return pre/post attributes from glfs_fsync/fdatasync
Updates: #389 Change-Id: I4153df72d5eeecefa7579170899db4c340128bea Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'libglusterfs/src/syncop.h')
-rw-r--r--libglusterfs/src/syncop.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h
index c7d58402df0..b0052b368b7 100644
--- a/libglusterfs/src/syncop.h
+++ b/libglusterfs/src/syncop.h
@@ -481,8 +481,9 @@ int syncop_unlink (xlator_t *subvol, loc_t *loc, dict_t *xdata_in,
int syncop_rmdir (xlator_t *subvol, loc_t *loc, int flags, dict_t *xdata_in,
dict_t **xdata_out);
-int syncop_fsync (xlator_t *subvol, fd_t *fd, int dataonly, dict_t *xdata_in,
- dict_t **xdata_out);
+int syncop_fsync (xlator_t *subvol, fd_t *fd, int dataonly,
+ struct iatt *preiatt, struct iatt *postiatt,
+ dict_t *xdata_in, dict_t **xdata_out);
int syncop_flush (xlator_t *subvol, fd_t *fd, dict_t *xdata_in,
dict_t **xdata_out);