diff options
author | Arjun <arjsharm@redhat.com> | 2018-12-04 11:02:37 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-01-16 06:24:45 +0000 |
commit | 213f31bf9e72eee57a6579b66e259af8e59e9c67 (patch) | |
tree | d8b25d80f5e0422a8017deec97c2e3bc9e7d034b /api/src/glfs-internal.h | |
parent | 2261e444a47ffffb5d64305efceee1d5a734cd75 (diff) |
gfapi : making glfs_setattr/glfs_fsetattr as public
Initially glfs_fsetattr and glfs_setattr, both functions accepted iatt as arguements
but now they accept stat and later in the function the stat is being converted to iatt
so that it can be passed to syncop_fsetattr/syncop_setattr.
Change-Id: I41a9e0124785a32ca19ef4d492c5ed5002e66ede
updates: #389
Signed-off-by: Arjun Sharma <arjsharm@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index c7fbdeb6560..6ab28fffe55 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -522,6 +522,9 @@ int glfs_loc_touchup(loc_t *loc) GFAPI_PRIVATE(glfs_loc_touchup, 3.4.0); void glfs_iatt_to_stat(struct glfs *fs, struct iatt *iatt, struct stat *stat); +void +glfs_iatt_from_stat(struct stat *stat, int valid, struct iatt *iatt, + int *gvalid); int glfs_loc_link(loc_t *loc, struct iatt *iatt); int |