fuse: revert birthtime support.

The creation time support breaks the data structures used in linux
fuse.  libfuse carries it's own header.

Revert the changes for now. We will try to get an agreement with the
fuse  upstream maintainers to avoid having to patch the library
headers all the time.
This commit is contained in:
Pedro F. Giffuni 2013-07-20 14:50:35 +00:00
parent da6335eb54
commit feba8afb59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253498
2 changed files with 3 additions and 6 deletions

View File

@ -223,8 +223,6 @@ fuse_internal_attr_fat2vat(struct mount *mp,
vap->va_mtime.tv_nsec = fat->mtimensec;
vap->va_ctime.tv_sec = fat->ctime;
vap->va_ctime.tv_nsec = fat->ctimensec;
vap->va_birthtime.tv_sec = fat->crtime;
vap->va_birthtime.tv_nsec = fat->crtimensec;
vap->va_blocksize = PAGE_SIZE;
vap->va_type = IFTOVT(fat->mode);

View File

@ -81,17 +81,16 @@ struct fuse_attr {
__u64 atime;
__u64 mtime;
__u64 ctime;
__u64 crtime;
__u32 atimensec;
__u32 mtimensec;
__u32 ctimensec;
__u32 crtimensec;
__u32 mode;
__u32 nlink;
__u32 uid;
__u32 gid;
__u32 rdev;
__u32 blksize;
__u32 padding;
};
struct fuse_kstatfs {
@ -222,7 +221,7 @@ enum fuse_opcode {
/* The read buffer is required to be at least 8k, but may be much larger */
#define FUSE_MIN_READ_BUFFER 8192
#define FUSE_COMPAT_ENTRY_OUT_SIZE 128
#define FUSE_COMPAT_ENTRY_OUT_SIZE 120
struct fuse_entry_out {
__u64 nodeid; /* Inode ID */
@ -245,7 +244,7 @@ struct fuse_getattr_in {
__u64 fh;
};
#define FUSE_COMPAT_ATTR_OUT_SIZE 104
#define FUSE_COMPAT_ATTR_OUT_SIZE 96
struct fuse_attr_out {
__u64 attr_valid; /* Cache timeout for the attributes */