summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.c
diff options
context:
space:
mode:
authorkarthik-us <ksubrahm@redhat.com>2018-02-23 15:12:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-03-02 05:28:00 +0000
commit11b3bbd649e15645c916c202d1e521d141f5130b (patch)
tree6e306e44b86c25c14705b1f3880f0e22c55f107e /xlators/cluster/afr/src/afr.c
parenta42137eee3c9e340ac9c82ebacca14eeb4b9d912 (diff)
cluster/afr: Make afr_fsync a transaction
Change-Id: I713401feb96393f668efb074f2d5b870d19e6fda BUG: 1548361 Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr.c')
-rw-r--r--xlators/cluster/afr/src/afr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 10e81138aea..3467729c345 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -636,7 +636,6 @@ struct xlator_fops fops = {
.lk = afr_lk,
.flush = afr_flush,
.statfs = afr_statfs,
- .fsync = afr_fsync,
.fsyncdir = afr_fsyncdir,
.inodelk = afr_inodelk,
.finodelk = afr_finodelk,
@@ -668,6 +667,7 @@ struct xlator_fops fops = {
.zerofill = afr_zerofill,
.xattrop = afr_xattrop,
.fxattrop = afr_fxattrop,
+ .fsync = afr_fsync,
/*inode open*/
.opendir = afr_opendir,