mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
f2fs: support inode creation time
This patch adds creation time field in inode layout to support showing kstat.btime in ->statx. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
068c3cd858
commit
1c1d35df71
6 changed files with 43 additions and 2 deletions
|
@ -253,8 +253,10 @@ struct f2fs_inode {
|
|||
__le16 i_inline_xattr_size; /* inline xattr size, unit: 4 bytes */
|
||||
__le32 i_projid; /* project id */
|
||||
__le32 i_inode_checksum;/* inode meta checksum */
|
||||
__le64 i_crtime; /* creation time */
|
||||
__le32 i_crtime_nsec; /* creation time in nano scale */
|
||||
__le32 i_extra_end[0]; /* for attribute size calculation */
|
||||
};
|
||||
} __packed;
|
||||
__le32 i_addr[DEF_ADDRS_PER_INODE]; /* Pointers to data blocks */
|
||||
};
|
||||
__le32 i_nid[DEF_NIDS_PER_INODE]; /* direct(2), indirect(2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue