projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] add a file_permission helper
[linux-2.6-block.git]
/
include
/
linux
/
fs.h
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index c3b8c1dc7cdf00c247b980c14411cb6b6c4f75a0..cc35b6ac778d6778f51a5112bc2569b9c1f563f4 100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-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
*