From c4efd39d339535856c1a0a6b0fad2783587411c9 Mon Sep 17 00:00:00 2001 From: Susant Palai Date: Sun, 17 Apr 2016 10:14:02 +0530 Subject: core: add getactivelk () fop Change-Id: Ifd0ff278dcf43da064021f5c25e5dcd34347fcde BUG: 1326085 Signed-off-by: Susant Palai Reviewed-on: http://review.gluster.org/13970 Smoke: Gluster Build System Reviewed-by: Niels de Vos NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- libglusterfs/src/syncop.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs/src/syncop.h') diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index 2301e6cefd0..2f7237bcfb2 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -173,6 +173,8 @@ struct syncargs { gf_dirent_t entries; off_t offset; + + lock_migration_info_t locklist; }; struct syncopctx { @@ -522,4 +524,7 @@ int syncop_seek (xlator_t *subvol, fd_t *fd, off_t offset, gf_seek_what_t what, dict_t *xdata_in, off_t *off); +int +syncop_getactivelk (xlator_t *subvol, loc_t *loc, lock_migration_info_t *locklist, + dict_t *xdata_in, dict_t **xdata_out); #endif /* _SYNCOP_H */ -- cgit