From da7d8f2a6533837c99a83ee214045b8a06e92308 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Sat, 13 Jul 2013 22:06:41 +0000 Subject: [PATCH] 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 --- sys/fs/fuse/fuse_kernel.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/fs/fuse/fuse_kernel.h b/sys/fs/fuse/fuse_kernel.h index b76a5a7befe..1c2ab6600b7 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 {