# define PGCACHE_WRUNLOCK(mapping) write_unlock(&mapping->page_lock)
#define KDEVT_INIT(val) { .value = val }
+
#define LTIME_S(time) (time.tv_sec)
#define USERMODEHELPER(path, argv, envp) \
call_usermodehelper(path, argv, envp, 1)
#define ll_path_lookup path_lookup
-
+#define ll_permission permission
#define ll_pgcache_lock(mapping) spin_lock(&mapping->page_lock)
#define ll_pgcache_unlock(mapping) spin_unlock(&mapping->page_lock)
error = path_walk(path, nd);
return error;
}
+#define ll_permission(a,b,c) permission(a,b)
typedef long sector_t;
#define ll_pgcache_lock(mapping) spin_lock(&pagecache_lock)