Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch backports simplefs to kernel version 3.10. current_time(struct inode *) was introduced from kernel version 4.9. This patch backports simplefs to kernel version 3.10 (Centos 7.5) by replacing current_time() by CURRENT_TIME macro. The idea is to 'tag' this version such that is becomes easy to experiment on commanly used distribution which comes with little dated kernel. After Patch: ~~~~~~~~~~~~ $ cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) $ make make -C /lib/modules/3.10.0-957.el7.x86_64/build M=/root/dev_world/simplefs modules make[1]: Entering directory `/usr/src/kernels/3.10.0-957.el7.x86_64' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/kernels/3.10.0-957.el7.x86_64' $ $ insmod simplefs.ko $ lsmod | grep simplefs simplefs 18383 0 jbd2 107478 2 ext4,simplefs Signed-off-by: Arshad Hussain <[email protected]>
- Loading branch information