summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-handles.h
diff options
context:
space:
mode:
authorArjun <arjsharm@redhat.com>2018-12-04 11:02:37 +0530
committerAmar Tumballi <amarts@redhat.com>2019-01-16 06:24:45 +0000
commit213f31bf9e72eee57a6579b66e259af8e59e9c67 (patch)
treed8b25d80f5e0422a8017deec97c2e3bc9e7d034b /api/src/glfs-handles.h
parent2261e444a47ffffb5d64305efceee1d5a734cd75 (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-handles.h')
-rw-r--r--api/src/glfs-handles.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h
index 89b1ed0f2e6..f7e6a06453f 100644
--- a/api/src/glfs-handles.h
+++ b/api/src/glfs-handles.h
@@ -46,16 +46,6 @@
*
*/
-/* Values for valid flags to be used when using XXXsetattr, to set multiple
- attribute values passed via the related stat structure.
- */
-#define GFAPI_SET_ATTR_MODE 0x1
-#define GFAPI_SET_ATTR_UID 0x2
-#define GFAPI_SET_ATTR_GID 0x4
-#define GFAPI_SET_ATTR_SIZE 0x8
-#define GFAPI_SET_ATTR_ATIME 0x10
-#define GFAPI_SET_ATTR_MTIME 0x20
-
/* Handle length for object handles returned from glfs_h_extract_handle or
* glfs_h_create_from_handle */
#define GFAPI_HANDLE_LENGTH 16