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
This commit is contained in:
Pedro F. Giffuni 2013-07-13 22:06:41 +00:00
parent 22629d2996
commit da7d8f2a65

View File

@ -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 {