summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.h
diff options
context:
space:
mode:
authorArjun Sharma <arjsharm@redhat.com>2019-02-21 18:09:50 +0530
committerAmar Tumballi <amarts@redhat.com>2019-02-27 13:12:49 +0000
commit2e9d3ab12df363ac5cdcbef693a5802c0066d7b4 (patch)
tree59027825437ea676444954058b82a2355a451c5c /api/src/glfs.h
parent5cddd4d758014fe116d9c130632eada2ecded88c (diff)
Updating the glfs_setattr and glfs_fsetattr public APIs to use glfs_stat
Change-Id: I0e86c8222c88b4c71087ec287ba81f8353d70822 updates: #389 Signed-off-by: Arjun <arjsharm@redhat.com>
Diffstat (limited to 'api/src/glfs.h')
-rw-r--r--api/src/glfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h
index 852e4aeae20..671478206b8 100644
--- a/api/src/glfs.h
+++ b/api/src/glfs.h
@@ -1446,11 +1446,11 @@ glfs_lease(glfs_fd_t *glfd, glfs_lease_t *lease, glfs_recall_cbk fn,
*/
int
-glfs_fsetattr(struct glfs_fd *glfd, struct stat *stat, int valid) __THROW
+glfs_fsetattr(struct glfs_fd *glfd, struct glfs_stat *stat) __THROW
GFAPI_PUBLIC(glfs_fsetattr, 6.0);
int
-glfs_setattr(struct glfs *fs, const char *path, struct stat *stat, int valid,
+glfs_setattr(struct glfs *fs, const char *path, struct glfs_stat *stat,
int follow) __THROW GFAPI_PUBLIC(glfs_setattr, 6.0);
__END_DECLS