#include <linux/fs.h>
#include <linux/ctype.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/uaccess.h>
#include "jfs_incore.h"
#include "jfs_filsys.h"
#include "jfs_debug.h"
#ifdef PROC_FS_JFS
#ifdef CONFIG_JFS_DEBUG
static int jfs_loglevel_proc_show(struct seq_file *m, void *v)
{ … }
static int jfs_loglevel_proc_open(struct inode *inode, struct file *file)
{ … }
static ssize_t jfs_loglevel_proc_write(struct file *file,
const char __user *buffer, size_t count, loff_t *ppos)
{ … }
static const struct proc_ops jfs_loglevel_proc_ops = …;
#endif
void jfs_proc_init(void)
{ … }
void jfs_proc_clean(void)
{ … }
#endif