aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/binfmt_misc.c')
-rw-r--r--fs/binfmt_misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index fd0cc0bf9a40..139fc8083f53 100644
--- a/fs/binfmt_misc.c
+++ b/fs/binfmt_misc.c
@@ -576,6 +576,7 @@ static ssize_t bm_entry_write(struct file *file, const char __user *buffer,
576static const struct file_operations bm_entry_operations = { 576static const struct file_operations bm_entry_operations = {
577 .read = bm_entry_read, 577 .read = bm_entry_read,
578 .write = bm_entry_write, 578 .write = bm_entry_write,
579 .llseek = default_llseek,
579}; 580};
580 581
581/* /register */ 582/* /register */
@@ -643,6 +644,7 @@ out:
643 644
644static const struct file_operations bm_register_operations = { 645static const struct file_operations bm_register_operations = {
645 .write = bm_register_write, 646 .write = bm_register_write,
647 .llseek = noop_llseek,
646}; 648};
647 649
648/* /status */ 650/* /status */
@@ -680,6 +682,7 @@ static ssize_t bm_status_write(struct file * file, const char __user * buffer,
680static const struct file_operations bm_status_operations = { 682static const struct file_operations bm_status_operations = {
681 .read = bm_status_read, 683 .read = bm_status_read,
682 .write = bm_status_write, 684 .write = bm_status_write,
685 .llseek = default_llseek,
683}; 686};
684 687
685/* Superblock handling */ 688/* Superblock handling */