init: add an init_eaccess helper
[sfrench/cifs-2.6.git] / fs / open.c
index 7ba89eae46c5602778b3fef3d28bd98ce8de7bf2..aafecd1f7ba1a5fe6c1915cf18663db0cc160357 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -394,7 +394,7 @@ static const struct cred *access_override_creds(void)
        return old_cred;
 }
 
-long do_faccessat(int dfd, const char __user *filename, int mode, int flags)
+static long do_faccessat(int dfd, const char __user *filename, int mode, int flags)
 {
        struct path path;
        struct inode *inode;