diff options
author | David Sterba <dsterba@suse.cz> | 2014-12-12 11:39:12 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-02-02 21:39:07 -0500 |
commit | a937b9791ec2ee71d5e303d2c02c8c1ad8abff35 (patch) | |
tree | 7e6c9da5054020fb19d62896f1085dbc8ccb47f0 /fs/btrfs/send.c | |
parent | 95449a1626fb6b643b576b9fbafed02793627577 (diff) |
btrfs: kill btrfs_inode_*time helpers
They just opencode taking address of the timespec member.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r-- | fs/btrfs/send.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 804432dbc351..fe5857223515 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c | |||
@@ -2471,12 +2471,9 @@ verbose_printk("btrfs: send_utimes %llu\n", ino); | |||
2471 | if (ret < 0) | 2471 | if (ret < 0) |
2472 | goto out; | 2472 | goto out; |
2473 | TLV_PUT_PATH(sctx, BTRFS_SEND_A_PATH, p); | 2473 | TLV_PUT_PATH(sctx, BTRFS_SEND_A_PATH, p); |
2474 | TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_ATIME, eb, | 2474 | TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_ATIME, eb, &ii->atime); |
2475 | btrfs_inode_atime(ii)); | 2475 | TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_MTIME, eb, &ii->mtime); |
2476 | TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_MTIME, eb, | 2476 | TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_CTIME, eb, &ii->ctime); |
2477 | btrfs_inode_mtime(ii)); | ||
2478 | TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_CTIME, eb, | ||
2479 | btrfs_inode_ctime(ii)); | ||
2480 | /* TODO Add otime support when the otime patches get into upstream */ | 2477 | /* TODO Add otime support when the otime patches get into upstream */ |
2481 | 2478 | ||
2482 | ret = send_cmd(sctx); | 2479 | ret = send_cmd(sctx); |