diff options
author | Soumya Koduri <skoduri@redhat.com> | 2017-10-13 20:15:55 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-10-17 13:53:40 +0000 |
commit | 05b9dce1b503ab10efdb79a870b07d982cb5a823 (patch) | |
tree | 817b481115489317271c3ebe40b91c08d35288df /tests | |
parent | 4f3c680ed8350496e18de127064be816388dafdd (diff) |
gfapi: update symbol version of glfd_set_lk_owner to 3.10.7
To be able to backport the API glfd_set_lk_owner() to
existing stable (3.10, 3.12) releases, change its symbol
version to 3.10.7 (upcoming 3.10 release).
Also sticking to the norms of the gfapi library, changing
the routine name to glfs_fd_set_lkowner()
BUG: 1499641
Change-Id: I43d002a24f493770a3daa774dbda2b7ea6d49e37
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/gfapi/glfd-lkowner.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/basic/gfapi/glfd-lkowner.c b/tests/basic/gfapi/glfd-lkowner.c index 4f2b0fc0650..031a076683c 100644 --- a/tests/basic/gfapi/glfd-lkowner.c +++ b/tests/basic/gfapi/glfd-lkowner.c @@ -43,8 +43,8 @@ lock1: lock1.l_start = l1_start; lock1.l_len = l1_len; - ret = glfd_set_lk_owner (glfd1, l1_owner, lo1_len); - LOG_ERR ("glfd_set_lk_owner on glfd1", ret); + ret = glfs_fd_set_lkowner (glfd1, l1_owner, lo1_len); + LOG_ERR ("glfs_fd_set_lkowner on glfd1", ret); ret = glfs_posix_lock (glfd1, F_SETLK, &lock1); LOG_ERR ("glfs_posix_lock on glfd1", ret); @@ -59,8 +59,8 @@ lock2: lock2.l_start = l2_start; lock2.l_len = l2_len; - ret = glfd_set_lk_owner (glfd2, l2_owner, lo2_len); - LOG_ERR ("glfd_set_lk_owner on glfd2", ret); + ret = glfs_fd_set_lkowner (glfd2, l2_owner, lo2_len); + LOG_ERR ("glfs_fd_set_lkowner on glfd2", ret); ret = glfs_posix_lock (glfd2, F_SETLK, &lock2); |