aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-16 18:53:03 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-16 18:53:03 -0500
commit603ba7e41bf5d405aba22294af5d075d8898176d (patch)
treefb9cf0b7c4912b5105f7da5efdd204cd0e66c8db /arch/ia64
parent31f48fc8f226f968d6e6b9b9718abe8e16c51fe8 (diff)
parent93fe74b2e2b5d266d630f0c3f8287efcbe6ecd10 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs pile #2 from Al Viro: "Next pile (and there'll be one or two more). The large piece in this one is getting rid of /proc/*/ns/* weirdness; among other things, it allows to (finally) make nameidata completely opaque outside of fs/namei.c, making for easier further cleanups in there" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: coda_venus_readdir(): use file_inode() fs/namei.c: fold link_path_walk() call into path_init() path_init(): don't bother with LOOKUP_PARENT in argument fs/namei.c: new helper (path_cleanup()) path_init(): store the "base" pointer to file in nameidata itself make default ->i_fop have ->open() fail with ENXIO make nameidata completely opaque outside of fs/namei.c kill proc_ns completely take the targets of /proc/*/ns/* symlinks to separate fs bury struct proc_ns in fs/proc copy address of proc_ns_ops into ns_common new helpers: ns_alloc_inum/ns_free_inum make proc_ns_operations work with struct ns_common * instead of void * switch the rest of proc_ns_operations to working with &...->ns netns: switch ->get()/->put()/->install()/->inum() to working with &net->ns make mntns ->get()/->put()/->install()/->inum() work with &mnt_ns->ns common object embedded into various struct ....ns
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/perfmon.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index dc063fe6646a..5f4243f0acfa 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -2145,22 +2145,12 @@ doit:
2145 return 0; 2145 return 0;
2146} 2146}
2147 2147
2148static int
2149pfm_no_open(struct inode *irrelevant, struct file *dontcare)
2150{
2151 DPRINT(("pfm_no_open called\n"));
2152 return -ENXIO;
2153}
2154
2155
2156
2157static const struct file_operations pfm_file_ops = { 2148static const struct file_operations pfm_file_ops = {
2158 .llseek = no_llseek, 2149 .llseek = no_llseek,
2159 .read = pfm_read, 2150 .read = pfm_read,
2160 .write = pfm_write, 2151 .write = pfm_write,
2161 .poll = pfm_poll, 2152 .poll = pfm_poll,
2162 .unlocked_ioctl = pfm_ioctl, 2153 .unlocked_ioctl = pfm_ioctl,
2163 .open = pfm_no_open, /* special open code to disallow open via /proc */
2164 .fasync = pfm_fasync, 2154 .fasync = pfm_fasync,
2165 .release = pfm_close, 2155 .release = pfm_close,
2166 .flush = pfm_flush 2156 .flush = pfm_flush