Re: [Y2038] [PATCH 10/10] fs: btrfs: Replace CURRENT_TIME by current_fs_time()

2016-02-05 Thread Deepa Dinamani
The kernel tester found a dereferencing NULL pointer issue with this patch. I think this is the fix: --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c @@ -488,7 +488,7 @@ void btrfs_update_root_times(struct btrfs_trans_handle *trans, struct btrfs_root *root) {

[Y2038] [PATCH 10/10] fs: btrfs: Replace CURRENT_TIME by current_fs_time()

2016-02-02 Thread Deepa Dinamani
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 Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba