summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.h
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-05-08 11:03:55 -0400
committerShyamsundarR <srangana@redhat.com>2018-05-08 11:27:48 -0400
commit427951b7f74c643d5b7c7c946bc348209b974274 (patch)
tree06dbb1fb1c0f8b11c7d00a1b196219967be68237 /api/src/glfs.h
parentacaea514b6c31099e657224adb116a96070d51a2 (diff)
Revert "gfapi: return pre/post attributes from glfs_fsync/fdatasync"
This reverts commit 09943beb499617212f2985ca8ea9ecd1ed1b470e. This is being reverted as the API signatures should adapt to a statx like structure, and also all APIs that need to return pre/post attrs are not complete. As a result, instead of fixing up part of the APIs and then refixing the same in a later release, removing these set of fixes from the branch. Updates: bz#1575386 Change-Id: I3e0803c114dc6b9126d8a90f43812bca501e6338
Diffstat (limited to 'api/src/glfs.h')
-rw-r--r--api/src/glfs.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h
index 97331d2398c..c174f53dfaa 100644
--- a/api/src/glfs.h
+++ b/api/src/glfs.h
@@ -584,15 +584,13 @@ int glfs_stat (glfs_t *fs, const char *path, struct stat *buf) __THROW
int glfs_fstat (glfs_fd_t *fd, struct stat *buf) __THROW
GFAPI_PUBLIC(glfs_fstat, 3.4.0);
-int glfs_fsync (glfs_fd_t *fd, struct stat *prestat,
- struct stat *poststat) __THROW
- GFAPI_PUBLIC(glfs_fsync, 4.0.0);
+int glfs_fsync (glfs_fd_t *fd) __THROW
+ GFAPI_PUBLIC(glfs_fsync, 3.4.0);
int glfs_fsync_async (glfs_fd_t *fd, glfs_io_cbk fn, void *data) __THROW
GFAPI_PUBLIC(glfs_fsync_async, 3.4.0);
-int glfs_fdatasync (glfs_fd_t *fd, struct stat *prestat,
- struct stat *poststat) __THROW
- GFAPI_PUBLIC(glfs_fdatasync, 4.0.0);
+int glfs_fdatasync (glfs_fd_t *fd) __THROW
+ GFAPI_PUBLIC(glfs_fdatasync, 3.4.0);
int glfs_fdatasync_async (glfs_fd_t *fd, glfs_io_cbk fn, void *data) __THROW
GFAPI_PUBLIC(glfs_fdatasync_async, 3.4.0);