Add TODO about moving version depend code into separate header.

This commit is contained in:
Azat Khuzhin 2013-09-25 00:48:31 +04:00
parent f72fbd4db6
commit 274a98ae14

View File

@ -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