The macro CURRENT_TIME has already been deleted by commit bfe1c566453a
("time: delete CURRENT_TIME_SEC and CURRENT_TIME"). So we need to
replace all the uses of CURRENT_TIME by current_time() for filesystem
times, and ktime_get_* function for others.
Signed-off-by: Kevin Hao
---
Hi Bruce,
Could
To fix the following build error:
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_mknod':
fs/yaffs2/yaffs_vfs.c:1252:2: error: implicit declaration of function
'current_fsuid' [-Werror=implicit-function-declaration]
uid_t uid = YCRED_FSUID();
^
Signed-off-by: Kevin Hao
---
fs/yaffs2/yaffs