sysprog21 / simplefs

A simple native file system for Linux kernel
Other
379 stars 92 forks source link

Fix compilation warning because of type mismatch #11

Closed Billy4195 closed 3 years ago

Billy4195 commented 3 years ago

Because inode->i_blocks is 64 bytes unsigned integer, change the format placeholder from %lu to %llu.


Details: The inode.i_blocks is defined at include/linux/fs.h

The type blkcnt_t is defined at include/linux/types.h