hypfs_dbfs.c (27eb2c4b3d3e13f376a359e293c212a2e9407af5) | hypfs_dbfs.c (8c6ffba0eddc8c110dbf444f51354ce42069abfc) |
---|---|
1/* 2 * Hypervisor filesystem for Linux on s390 - debugfs interface 3 * 4 * Copyright IBM Corp. 2010 5 * Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com> 6 */ 7 8#include <linux/slab.h> --- 91 unchanged lines hidden (view full) --- 100void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df) 101{ 102 debugfs_remove(df->dentry); 103} 104 105int hypfs_dbfs_init(void) 106{ 107 dbfs_dir = debugfs_create_dir("s390_hypfs", NULL); | 1/* 2 * Hypervisor filesystem for Linux on s390 - debugfs interface 3 * 4 * Copyright IBM Corp. 2010 5 * Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com> 6 */ 7 8#include <linux/slab.h> --- 91 unchanged lines hidden (view full) --- 100void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df) 101{ 102 debugfs_remove(df->dentry); 103} 104 105int hypfs_dbfs_init(void) 106{ 107 dbfs_dir = debugfs_create_dir("s390_hypfs", NULL); |
108 return PTR_RET(dbfs_dir); | 108 return PTR_ERR_OR_ZERO(dbfs_dir); |
109} 110 111void hypfs_dbfs_exit(void) 112{ 113 debugfs_remove(dbfs_dir); 114} | 109} 110 111void hypfs_dbfs_exit(void) 112{ 113 debugfs_remove(dbfs_dir); 114} |