aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r--fs/ubifs/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index 004d3745dc45..da9ecddf028a 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -2784,7 +2784,7 @@ void dbg_debugfs_exit(void)
2784static int open_debugfs_file(struct inode *inode, struct file *file) 2784static int open_debugfs_file(struct inode *inode, struct file *file)
2785{ 2785{
2786 file->private_data = inode->i_private; 2786 file->private_data = inode->i_private;
2787 return 0; 2787 return nonseekable_open(inode, file);
2788} 2788}
2789 2789
2790static ssize_t write_debugfs_file(struct file *file, const char __user *buf, 2790static ssize_t write_debugfs_file(struct file *file, const char __user *buf,
@@ -2814,7 +2814,7 @@ static const struct file_operations dfs_fops = {
2814 .open = open_debugfs_file, 2814 .open = open_debugfs_file,
2815 .write = write_debugfs_file, 2815 .write = write_debugfs_file,
2816 .owner = THIS_MODULE, 2816 .owner = THIS_MODULE,
2817 .llseek = default_llseek, 2817 .llseek = no_llseek,
2818}; 2818};
2819 2819
2820/** 2820/**