aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/genhd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 3c001fba80c7..dfcec431ceea 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1111,7 +1111,8 @@ struct class block_class = {
1111 .name = "block", 1111 .name = "block",
1112}; 1112};
1113 1113
1114static char *block_devnode(struct device *dev, umode_t *mode) 1114static char *block_devnode(struct device *dev, umode_t *mode,
1115 uid_t *uid, gid_t *gid)
1115{ 1116{
1116 struct gendisk *disk = dev_to_disk(dev); 1117 struct gendisk *disk = dev_to_disk(dev);
1117 1118