summaryrefslogtreecommitdiffstats
path: root/fs/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/devices.c')
-rw-r--r--fs/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/devices.c b/fs/devices.c
index f0ab040fc..db5cca48b 100644
--- a/fs/devices.c
+++ b/fs/devices.c
@@ -261,6 +261,7 @@ struct file_operations def_blk_fops = {
NULL, /* ioctl */
NULL, /* mmap */
blkdev_open, /* open */
+ NULL, /* flush */
NULL, /* release */
};
@@ -313,6 +314,7 @@ struct file_operations def_chr_fops = {
NULL, /* ioctl */
NULL, /* mmap */
chrdev_open, /* open */
+ NULL, /* flush */
NULL, /* release */
};