summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorchandan r2012-07-04 09:18:07 +0200
committerChris Mason2015-02-03 03:39:16 +0100
commit9cc97d646216b6f2473fa4ab9f103514b86c6814 (patch)
treedae8cc90e44503e85ea05b9111ab9e96bdfdb16a /fs/btrfs/btrfs_inode.h
parentbtrfs: kill btrfs_inode_*time helpers (diff)
downloadkernel-qcow2-linux-9cc97d646216b6f2473fa4ab9f103514b86c6814.tar.gz
kernel-qcow2-linux-9cc97d646216b6f2473fa4ab9f103514b86c6814.tar.xz
kernel-qcow2-linux-9cc97d646216b6f2473fa4ab9f103514b86c6814.zip
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.h3
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;
};