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);