summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syncop.h
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2014-09-10 23:25:27 +0530
committerNiels de Vos <ndevos@redhat.com>2014-10-01 03:34:09 -0700
commit16cc2a73d775d4f013f7abd68db547fd512f82f4 (patch)
tree5e6adc10a5b8d022f2aca16955decdcbe12d06a9 /libglusterfs/src/syncop.h
parent53010998dc6c7bb5268cd1c124887ce9d9a3f032 (diff)
libglusterfs/syncop: implement inodelk
Change-Id: Iea489157490b70cb2bb03576b0d4943c6d8f052d BUG: 1140348 Signed-off-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on: http://review.gluster.org/8522 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> (cherry picked from commit 172100209e531e94168d0974bfb0995704d9dddd) Signed-off-by: Nithya Balachandran <nbalacha@redhat.com> Reviewed-on: http://review.gluster.org/8723 Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'libglusterfs/src/syncop.h')
-rw-r--r--libglusterfs/src/syncop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h
index 68218bb17c8..f60a1b5532e 100644
--- a/libglusterfs/src/syncop.h
+++ b/libglusterfs/src/syncop.h
@@ -409,4 +409,8 @@ int syncop_rename (xlator_t *subvol, loc_t *oldloc, loc_t *newloc);
int syncop_lk (xlator_t *subvol, fd_t *fd, int cmd, struct gf_flock *flock);
+int
+syncop_inodelk (xlator_t *subvol, const char *volume, loc_t *loc, int32_t cmd,
+ struct gf_flock *lock, dict_t *xdata_req, dict_t **xdata_rsp);
+
#endif /* _SYNCOP_H */