Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from gshrikant/master
Fix usage of CURRENT_TIME macro.
- Loading branch information
af55617
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, psankar ,i can't compile this project succussfully and thre error tis is below, how to solve it ,thanks
make -C /lib/modules/3.4.0/build M=/usr/src/kernels/simplefs-master modules
make[1]: Entering directory
/usr/src/kernels/linux-3.4' CC [M] /usr/src/kernels/simplefs-master/simple.o /usr/src/kernels/simplefs-master/simple.c:477: warning: initialization from incompatible pointer type /usr/src/kernels/simplefs-master/simple.c:478: warning: initialization from incompatible pointer type /usr/src/kernels/simplefs-master/simple.c: In function ‘simplefs_create_fs_object’: /usr/src/kernels/simplefs-master/simple.c:529: error: implicit declaration of function ‘current_time’ /usr/src/kernels/simplefs-master/simple.c:529: error: incompatible types when assigning to type ‘struct timespec’ from type ‘int’ /usr/src/kernels/simplefs-master/simple.c: In function ‘simplefs_iget’: /usr/src/kernels/simplefs-master/simple.c:642: error: incompatible types when assigning to type ‘struct timespec’ from type ‘int’ /usr/src/kernels/simplefs-master/simple.c: In function ‘simplefs_fill_super’: /usr/src/kernels/simplefs-master/simple.c:878: error: incompatible types when assigning to type ‘struct timespec’ from type ‘int’ make[2]: *** [/usr/src/kernels/simplefs-master/simple.o] Error 1 make[1]: *** [_module_/usr/src/kernels/simplefs-master] Error 2 make[1]: Leaving directory
/usr/src/kernels/linux-3.4'make: *** [ko] Error 2