diff --git a/simple.c b/simple.c index 99cf043..802caac 100644 --- a/simple.c +++ b/simple.c @@ -21,6 +21,10 @@ #include "super.h" +#ifndef f_dentry +#define f_dentry f_path.dentry +#endif + /* A super block lock that must be used for any critical section operation on the sb, * such as: updating the free_blocks, inodes_count etc. */ static DEFINE_MUTEX(simplefs_sb_lock);