]> git.baikalelectronics.ru Git - kernel.git/commit
hfsplus: report create_date to kstat.btime
authorChung-Chiang Cheng <shepjeng@gmail.com>
Thu, 1 Jul 2021 01:56:40 +0000 (18:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Jul 2021 18:06:06 +0000 (11:06 -0700)
commit4cae2621377b7828937140c96efed2e21f3323f7
tree050e24bb57577c37172d4431443e375f5b7e50ee
parent5545f17543b58f4bd1102589e2ccc3e4f2bb89f4
hfsplus: report create_date to kstat.btime

The create_date field of inode in hfsplus is corresponding to
kstat.btime and could be reported in statx.

Link: https://lkml.kernel.org/r/20210416172147.8736-1-cccheng@synology.com
Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
Reviewed-by: Viacheslav Dubeyko <slava@dubeyko.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: James Morris <jamorris@linux.microsoft.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/inode.c