projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git]
/
fs
/
nsfs.c
diff --git
a/fs/nsfs.c
b/fs/nsfs.c
index
4f12057
..
800c1d0
100644
(file)
--- a/
fs/nsfs.c
+++ b/
fs/nsfs.c
@@
-229,6
+229,11
@@
int ns_get_name(char *buf, size_t size, struct task_struct *task,
return res;
}
+bool proc_ns_file(const struct file *file)
+{
+ return file->f_op == &ns_file_operations;
+}
+
struct file *proc_ns_fget(int fd)
{
struct file *file;