mirror of
https://github.com/psankar/simplefs.git
synced 2025-07-24 14:34:43 +02:00
Add TODO about moving version depend code into separate header.
This commit is contained in:
parent
f72fbd4db6
commit
274a98ae14
1
simple.c
1
simple.c
@ -703,6 +703,7 @@ int simplefs_fill_super(struct super_block *sb, void *data, int silent)
|
||||
root_inode->i_private =
|
||||
simplefs_get_inode(sb, SIMPLEFS_ROOTDIR_INODE_NUMBER);
|
||||
|
||||
/* TODO: move such stuff into separate header. */
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0)
|
||||
sb->s_root = d_make_root(root_inode);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user