diff options
author | chandan r <chandanrmail@gmail.com> | 2012-07-04 11:18:07 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-02-03 05:39:16 +0300 |
commit | 9cc97d646216b6f2473fa4ab9f103514b86c6814 (patch) | |
tree | dae8cc90e44503e85ea05b9111ab9e96bdfdb16a /fs/btrfs/btrfs_inode.h | |
parent | a937b9791ec2ee71d5e303d2c02c8c1ad8abff35 (diff) | |
download | linux-9cc97d646216b6f2473fa4ab9f103514b86c6814.tar.xz |
Btrfs: Add code to support file creation time
This patch adds a new member to the 'struct btrfs_inode' structure to hold
the file creation time.
Signed-off-by: chandan <chandanrmail@gmail.com>
[refreshed, removed btrfs_inode_otime]
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 4aadadcfab20..de5e4f2adfea 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h @@ -185,6 +185,9 @@ struct btrfs_inode { struct btrfs_delayed_node *delayed_node; + /* File creation time. */ + struct timespec i_otime; + struct inode vfs_inode; }; |