From 24168fdd0e83f19ea1600ba2fd125a73e9c0c81f Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Wed, 13 Feb 2008 17:08:16 -0800 Subject: [PATCH] --- yaml --- r: 86881 b: refs/heads/master c: 3634634edd49c115da931998b9540bcc17665b05 h: refs/heads/master i: 86879: d60e4d75f0cf222d8ac89081a0b38ff51e7f7b96 v: v3 --- [refs] | 2 +- trunk/fs/debugfs/inode.c | 4 ---- trunk/include/linux/debugfs.h | 5 +++++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 70181604d701..a14290531398 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1fe539a7e031302af1d121163e7ce68e679ba8c +refs/heads/master: 3634634edd49c115da931998b9540bcc17665b05 diff --git a/trunk/fs/debugfs/inode.c b/trunk/fs/debugfs/inode.c index d26e2826ba5b..e9602d85c11d 100644 --- a/trunk/fs/debugfs/inode.c +++ b/trunk/fs/debugfs/inode.c @@ -29,10 +29,6 @@ #define DEBUGFS_MAGIC 0x64626720 -/* declared over in file.c */ -extern struct file_operations debugfs_file_operations; -extern struct inode_operations debugfs_link_operations; - static struct vfsmount *debugfs_mount; static int debugfs_mount_count; diff --git a/trunk/include/linux/debugfs.h b/trunk/include/linux/debugfs.h index f592d6de3b97..7266124361b4 100644 --- a/trunk/include/linux/debugfs.h +++ b/trunk/include/linux/debugfs.h @@ -27,6 +27,11 @@ struct debugfs_blob_wrapper { }; #if defined(CONFIG_DEBUG_FS) + +/* declared over in file.c */ +extern const struct file_operations debugfs_file_operations; +extern const struct inode_operations debugfs_link_operations; + struct dentry *debugfs_create_file(const char *name, mode_t mode, struct dentry *parent, void *data, const struct file_operations *fops);