btrfs: Replace CURRENT_TIME by current_fs_time()
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sun, 7 Feb 2016 07:57:21 +0000 (23:57 -0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 10:46:03 +0000 (11:46 +0100)
commit04b285f35e2086b69682c7ed054aa35eebea9f72
tree72120ea015c4234a1a2533184ac23b925a36a086
parent8f682f6955b94ddfb548a1db23c1dd633d90f7de
btrfs: Replace CURRENT_TIME by current_fs_time()

CURRENT_TIME macro is not appropriate for filesystems as it
doesn't use the right granularity for filesystem timestamps.
Use current_fs_time() instead.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: Chris Mason <clm@fb.com>
Cc: Josef Bacik <jbacik@fb.com>
Cc: linux-btrfs@vger.kernel.org
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/root-tree.c
fs/btrfs/transaction.c
fs/btrfs/xattr.c