From 2f2e3bfb5ef89b5ba266a3df7496f95b11fb93e1 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 17 Aug 2012 14:21:07 +0530 Subject: syncop: handle 'dataonly' flag in syncop_fsync() * and also in syncop_readv(), don't look at _cbk args if op_ret is < 0. Change-Id: I3ab2982bc6d186e75b6adb74c8981e4ff7058bbe Signed-off-by: Amar Tumballi BUG: 839950 Reviewed-on: http://review.gluster.org/3828 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/syncop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/syncop.h') diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index 9f87673d..619fe711 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -246,7 +246,7 @@ int syncop_truncate (xlator_t *subvol, loc_t *loc, off_t offset); int syncop_unlink (xlator_t *subvol, loc_t *loc); -int syncop_fsync (xlator_t *subvol, fd_t *fd); +int syncop_fsync (xlator_t *subvol, fd_t *fd, int dataonly); int syncop_flush (xlator_t *subvol, fd_t *fd); int syncop_fstat (xlator_t *subvol, fd_t *fd, struct iatt *stbuf); int syncop_stat (xlator_t *subvol, loc_t *loc, struct iatt *stbuf); -- cgit