[PATCH] add a file_permission helper
[linux-2.6-block.git] / include / linux / fs.h
index c3b8c1dc7cdf00c247b980c14411cb6b6c4f75a0..cc35b6ac778d6778f51a5112bc2569b9c1f563f4 100644 (file)
@@ -889,6 +889,11 @@ extern int vfs_rename(struct inode *, struct dentry *, struct inode *, struct de
  */
 extern void dentry_unhash(struct dentry *dentry);
 
+/*
+ * VFS file helper functions.
+ */
+extern int file_permission(struct file *, int);
+
 /*
  * File types
  *