diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-07-15 18:02:19 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-07-15 18:02:19 +0200 |
commit | b49cf754f9d2db3a426aeb6111fa94d90270fb93 (patch) | |
tree | 18aca31da248e19e1072e6c40d21cb198d05c5ac /include/fuse_kernel.h | |
parent | 978d10a42b2cfccf6bfc4df1cfad480ac3bbcb3d (diff) |
libfuse: add flags to ->rename()
See renameat2() system call in linux-3.15 and later kernels.
Diffstat (limited to 'include/fuse_kernel.h')
-rw-r--r-- | include/fuse_kernel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index e86a21a..40b5ca8 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -100,6 +100,7 @@ * - add reserved space to fuse_init_out * - add FATTR_CTIME * - add ctime and ctimensec to fuse_setattr_in + * - add FUSE_RENAME2 request */ #ifndef _LINUX_FUSE_H @@ -353,6 +354,7 @@ enum fuse_opcode { FUSE_BATCH_FORGET = 42, FUSE_FALLOCATE = 43, FUSE_READDIRPLUS = 44, + FUSE_RENAME2 = 45, /* CUSE specific operations */ CUSE_INIT = 4096, @@ -431,6 +433,12 @@ struct fuse_rename_in { uint64_t newdir; }; +struct fuse_rename2_in { + uint64_t newdir; + uint32_t flags; + uint32_t padding; +}; + struct fuse_link_in { uint64_t oldnodeid; }; |