summaryrefslogtreecommitdiffstats
path: root/sys/fs/fuse
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-07-13 22:06:41 +0000
committerpfg <pfg@FreeBSD.org>2013-07-13 22:06:41 +0000
commite26f629724872262df8ec700ba05ab9ebc41a1c0 (patch)
tree8b36d6a094905d00e4aa3f8f97df6ff50d7ae45f /sys/fs/fuse
parent2bf9d2e61f167a0b4ed757d24e5cbf4be712bce4 (diff)
downloadFreeBSD-src-e26f629724872262df8ec700ba05ab9ebc41a1c0.zip
FreeBSD-src-e26f629724872262df8ec700ba05ab9ebc41a1c0.tar.gz
Add creation timestamp (birthtime) support for fuse.
I was keeping this #ifdef'd for reference with the MacFUSE change[1] but on second thought, this is a FreeBSD-only header so the SVN history should be enough. Add missing padding while here. Reference [1]: http://code.google.com/p/macfuse/source/detail?spec=svn1686&r=1360
Diffstat (limited to 'sys/fs/fuse')
-rw-r--r--sys/fs/fuse/fuse_kernel.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/fuse/fuse_kernel.h b/sys/fs/fuse/fuse_kernel.h
index b76a5a7..1c2ab66 100644
--- a/sys/fs/fuse/fuse_kernel.h
+++ b/sys/fs/fuse/fuse_kernel.h
@@ -69,20 +69,17 @@ struct fuse_attr {
__u64 atime;
__u64 mtime;
__u64 ctime;
-#ifdef __FreeBSD__
__u64 crtime;
-#endif
__u32 atimensec;
__u32 mtimensec;
__u32 ctimensec;
-#ifdef __FreeBSD__
__u32 crtimensec;
-#endif
__u32 mode;
__u32 nlink;
__u32 uid;
__u32 gid;
__u32 rdev;
+ __u32 padding;
};
struct fuse_kstatfs {
OpenPOWER on IntegriCloud