On Tue, Feb 02, 2016 at 10:07:50PM -0800, Deepa Dinamani wrote:
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: David Sterba dsterba@suse.com Cc: linux-btrfs@vger.kernel.org
Reviewed-by: David Sterba dsterba@suse.com
There's no actual change for btrfs as it uses granularity 1 which is a no-op and equivalent to CURRENT_TIME.