summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.h
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2018-01-16 14:24:28 +0530
committerAmar Tumballi <amarts@redhat.com>2018-02-12 21:35:15 +0000
commit87fd65f1ef1c64b1e32a6da47865a4a28f1e508e (patch)
tree51c62a994cb8241e5e77e226b3c6d6a46a46e036 /xlators/storage/posix/src/posix.h
parent384562b294e9a7847403961e878a4daa0fff33eb (diff)
Posix: Implement put fop
Updates #353 Change-Id: I1410222529ff42a810d62825bd6eebe8913fad1e Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.h')
-rw-r--r--xlators/storage/posix/src/posix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h
index 720c3011f5a..5a623aa657a 100644
--- a/xlators/storage/posix/src/posix.h
+++ b/xlators/storage/posix/src/posix.h
@@ -613,6 +613,12 @@ posix_rchecksum (call_frame_t *frame, xlator_t *this,
fd_t *fd, off_t offset, int32_t len, dict_t *xdata);
int32_t
+posix_put (call_frame_t *frame, xlator_t *this, loc_t *loc,
+ mode_t mode, mode_t umask, uint32_t flags,
+ struct iovec *vector, int32_t count, off_t offset,
+ struct iobref *iobref, dict_t *xattr, dict_t *xdata);
+
+int32_t
posix_set_mode_in_dict (dict_t *in_dict, dict_t *out_dict,
struct iatt *in_stbuf);
#endif /* _POSIX_H */