From 0fbe5650de86e43b23834a73490651c3e69d61c5 Mon Sep 17 00:00:00 2001 From: braam Date: Thu, 24 Jul 2003 02:21:19 +0000 Subject: [PATCH] - Linus style patches for 2.4. 2.4 passes sanity again. --- lustre/include/linux/lustre_compat25.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index c5f0b1a..4d3b953 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -46,8 +46,13 @@ #define ll_pgcache_lock(mapping) spin_lock(&mapping->page_lock) #define ll_pgcache_unlock(mapping) spin_unlock(&mapping->page_lock) +#define ll_vfs_create(a,b,c,d) vfs_create(a,b,c,d) +#define ll_permission(a,b,c) permission(a,b,c) + #else /* 2.4.. */ +#define ll_vfs_create(a,b,c,d) vfs_create(a,b,c) +#define ll_permission(a,b,c) permission(a,b) # define PGCACHE_WRLOCK(mapping) spin_lock(&pagecache_lock) # define PGCACHE_WRUNLOCK(mapping) spin_unlock(&pagecache_lock) -- 1.8.3.1