Re: [git patch] vfs: permission API cleanup (v2)

From: Tetsuo Handa
Date: Fri May 23 2008 - 00:01:49 EST


Subject: Add EXPORT_SYMBOL(check_execute).

NFS needs check_execute().

Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
ERROR: "check_execute" [fs/nfs/nfs.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
---
fs/namei.c | 1 +
1 file changed, 1 insertion(+)

--- vfs.orig/fs/namei.c
+++ vfs/fs/namei.c
@@ -246,6 +246,7 @@ int check_execute(struct inode *inode, i

return 0;
}
+EXPORT_SYMBOL(check_execute);

static int dentry_permission(struct dentry *dentry, int mask)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/