diff options
author | chandan r <chandanrmail@gmail.com> | 2012-07-04 03:18:07 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-02-02 21:39:16 -0500 |
commit | 9cc97d646216b6f2473fa4ab9f103514b86c6814 (patch) | |
tree | dae8cc90e44503e85ea05b9111ab9e96bdfdb16a /fs/btrfs/btrfs_inode.h | |
parent | a937b9791ec2ee71d5e303d2c02c8c1ad8abff35 (diff) |
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 { | |||
185 | 185 | ||
186 | struct btrfs_delayed_node *delayed_node; | 186 | struct btrfs_delayed_node *delayed_node; |
187 | 187 | ||
188 | /* File creation time. */ | ||
189 | struct timespec i_otime; | ||
190 | |||
188 | struct inode vfs_inode; | 191 | struct inode vfs_inode; |
189 | }; | 192 | }; |
190 | 193 | ||