diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/DAC960.c | 2 | ||||
-rw-r--r-- | drivers/block/amiflop.c | 6 | ||||
-rw-r--r-- | drivers/block/aoe/aoeblk.c | 4 | ||||
-rw-r--r-- | drivers/block/ataflop.c | 6 | ||||
-rw-r--r-- | drivers/block/brd.c | 2 | ||||
-rw-r--r-- | drivers/block/cciss.c | 8 | ||||
-rw-r--r-- | drivers/block/cpqarray.c | 6 | ||||
-rw-r--r-- | drivers/block/floppy.c | 6 | ||||
-rw-r--r-- | drivers/block/loop.c | 8 | ||||
-rw-r--r-- | drivers/block/nbd.c | 2 | ||||
-rw-r--r-- | drivers/block/paride/pcd.c | 6 | ||||
-rw-r--r-- | drivers/block/paride/pd.c | 6 | ||||
-rw-r--r-- | drivers/block/paride/pf.c | 6 | ||||
-rw-r--r-- | drivers/block/pktcdvd.c | 6 | ||||
-rw-r--r-- | drivers/block/swim3.c | 6 | ||||
-rw-r--r-- | drivers/block/ub.c | 6 | ||||
-rw-r--r-- | drivers/block/viodasd.c | 4 | ||||
-rw-r--r-- | drivers/block/virtio_blk.c | 2 | ||||
-rw-r--r-- | drivers/block/xd.c | 2 | ||||
-rw-r--r-- | drivers/block/xen-blkfront.c | 4 | ||||
-rw-r--r-- | drivers/block/xsysace.c | 4 | ||||
-rw-r--r-- | drivers/block/z2ram.c | 4 |
22 files changed, 53 insertions, 53 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index a002a381df92..4b90ebfa6676 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c | |||
@@ -153,7 +153,7 @@ static int DAC960_revalidate_disk(struct gendisk *disk) | |||
153 | 153 | ||
154 | static struct block_device_operations DAC960_BlockDeviceOperations = { | 154 | static struct block_device_operations DAC960_BlockDeviceOperations = { |
155 | .owner = THIS_MODULE, | 155 | .owner = THIS_MODULE, |
156 | .open = DAC960_open, | 156 | .__open = DAC960_open, |
157 | .getgeo = DAC960_getgeo, | 157 | .getgeo = DAC960_getgeo, |
158 | .media_changed = DAC960_media_changed, | 158 | .media_changed = DAC960_media_changed, |
159 | .revalidate_disk = DAC960_revalidate_disk, | 159 | .revalidate_disk = DAC960_revalidate_disk, |
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index d19c5a939fe8..d5da4e3cb2ad 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c | |||
@@ -1648,9 +1648,9 @@ static int amiga_floppy_change(struct gendisk *disk) | |||
1648 | 1648 | ||
1649 | static struct block_device_operations floppy_fops = { | 1649 | static struct block_device_operations floppy_fops = { |
1650 | .owner = THIS_MODULE, | 1650 | .owner = THIS_MODULE, |
1651 | .open = floppy_open, | 1651 | .__open = floppy_open, |
1652 | .release = floppy_release, | 1652 | .__release = floppy_release, |
1653 | .ioctl = fd_ioctl, | 1653 | .__ioctl = fd_ioctl, |
1654 | .getgeo = fd_getgeo, | 1654 | .getgeo = fd_getgeo, |
1655 | .media_changed = amiga_floppy_change, | 1655 | .media_changed = amiga_floppy_change, |
1656 | }; | 1656 | }; |
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c index d876ad861237..d4d9796d5ddd 100644 --- a/drivers/block/aoe/aoeblk.c +++ b/drivers/block/aoe/aoeblk.c | |||
@@ -239,8 +239,8 @@ aoeblk_getgeo(struct block_device *bdev, struct hd_geometry *geo) | |||
239 | } | 239 | } |
240 | 240 | ||
241 | static struct block_device_operations aoe_bdops = { | 241 | static struct block_device_operations aoe_bdops = { |
242 | .open = aoeblk_open, | 242 | .__open = aoeblk_open, |
243 | .release = aoeblk_release, | 243 | .__release = aoeblk_release, |
244 | .getgeo = aoeblk_getgeo, | 244 | .getgeo = aoeblk_getgeo, |
245 | .owner = THIS_MODULE, | 245 | .owner = THIS_MODULE, |
246 | }; | 246 | }; |
diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index 85d56a26f7c6..30166774327d 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c | |||
@@ -1857,9 +1857,9 @@ static int floppy_release( struct inode * inode, struct file * filp ) | |||
1857 | 1857 | ||
1858 | static struct block_device_operations floppy_fops = { | 1858 | static struct block_device_operations floppy_fops = { |
1859 | .owner = THIS_MODULE, | 1859 | .owner = THIS_MODULE, |
1860 | .open = floppy_open, | 1860 | .__open = floppy_open, |
1861 | .release = floppy_release, | 1861 | .__release = floppy_release, |
1862 | .ioctl = fd_ioctl, | 1862 | .__ioctl = fd_ioctl, |
1863 | .media_changed = check_floppy_change, | 1863 | .media_changed = check_floppy_change, |
1864 | .revalidate_disk= floppy_revalidate, | 1864 | .revalidate_disk= floppy_revalidate, |
1865 | }; | 1865 | }; |
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index d070d492e385..2ea99f947667 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -376,7 +376,7 @@ static int brd_ioctl(struct inode *inode, struct file *file, | |||
376 | 376 | ||
377 | static struct block_device_operations brd_fops = { | 377 | static struct block_device_operations brd_fops = { |
378 | .owner = THIS_MODULE, | 378 | .owner = THIS_MODULE, |
379 | .ioctl = brd_ioctl, | 379 | .__ioctl = brd_ioctl, |
380 | #ifdef CONFIG_BLK_DEV_XIP | 380 | #ifdef CONFIG_BLK_DEV_XIP |
381 | .direct_access = brd_direct_access, | 381 | .direct_access = brd_direct_access, |
382 | #endif | 382 | #endif |
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index d9b1c15b8113..781b745181d2 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -197,12 +197,12 @@ static long cciss_compat_ioctl(struct file *f, unsigned cmd, unsigned long arg); | |||
197 | 197 | ||
198 | static struct block_device_operations cciss_fops = { | 198 | static struct block_device_operations cciss_fops = { |
199 | .owner = THIS_MODULE, | 199 | .owner = THIS_MODULE, |
200 | .open = cciss_open, | 200 | .__open = cciss_open, |
201 | .release = cciss_release, | 201 | .__release = cciss_release, |
202 | .ioctl = cciss_ioctl, | 202 | .__ioctl = cciss_ioctl, |
203 | .getgeo = cciss_getgeo, | 203 | .getgeo = cciss_getgeo, |
204 | #ifdef CONFIG_COMPAT | 204 | #ifdef CONFIG_COMPAT |
205 | .compat_ioctl = cciss_compat_ioctl, | 205 | .__compat_ioctl = cciss_compat_ioctl, |
206 | #endif | 206 | #endif |
207 | .revalidate_disk = cciss_revalidate, | 207 | .revalidate_disk = cciss_revalidate, |
208 | }; | 208 | }; |
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index 3d967525e9a9..b71334b968b6 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c | |||
@@ -195,9 +195,9 @@ static inline ctlr_info_t *get_host(struct gendisk *disk) | |||
195 | 195 | ||
196 | static struct block_device_operations ida_fops = { | 196 | static struct block_device_operations ida_fops = { |
197 | .owner = THIS_MODULE, | 197 | .owner = THIS_MODULE, |
198 | .open = ida_open, | 198 | .__open = ida_open, |
199 | .release = ida_release, | 199 | .__release = ida_release, |
200 | .ioctl = ida_ioctl, | 200 | .__ioctl = ida_ioctl, |
201 | .getgeo = ida_getgeo, | 201 | .getgeo = ida_getgeo, |
202 | .revalidate_disk= ida_revalidate, | 202 | .revalidate_disk= ida_revalidate, |
203 | }; | 203 | }; |
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 5d60c05a736a..72363df58953 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c | |||
@@ -3902,9 +3902,9 @@ static int floppy_revalidate(struct gendisk *disk) | |||
3902 | 3902 | ||
3903 | static struct block_device_operations floppy_fops = { | 3903 | static struct block_device_operations floppy_fops = { |
3904 | .owner = THIS_MODULE, | 3904 | .owner = THIS_MODULE, |
3905 | .open = floppy_open, | 3905 | .__open = floppy_open, |
3906 | .release = floppy_release, | 3906 | .__release = floppy_release, |
3907 | .ioctl = fd_ioctl, | 3907 | .__ioctl = fd_ioctl, |
3908 | .getgeo = fd_getgeo, | 3908 | .getgeo = fd_getgeo, |
3909 | .media_changed = check_floppy_change, | 3909 | .media_changed = check_floppy_change, |
3910 | .revalidate_disk = floppy_revalidate, | 3910 | .revalidate_disk = floppy_revalidate, |
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index d3a25b027ff9..6faca2b7ae37 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -1355,11 +1355,11 @@ static int lo_release(struct inode *inode, struct file *file) | |||
1355 | 1355 | ||
1356 | static struct block_device_operations lo_fops = { | 1356 | static struct block_device_operations lo_fops = { |
1357 | .owner = THIS_MODULE, | 1357 | .owner = THIS_MODULE, |
1358 | .open = lo_open, | 1358 | .__open = lo_open, |
1359 | .release = lo_release, | 1359 | .__release = lo_release, |
1360 | .ioctl = lo_ioctl, | 1360 | .__ioctl = lo_ioctl, |
1361 | #ifdef CONFIG_COMPAT | 1361 | #ifdef CONFIG_COMPAT |
1362 | .compat_ioctl = lo_compat_ioctl, | 1362 | .__compat_ioctl = lo_compat_ioctl, |
1363 | #endif | 1363 | #endif |
1364 | }; | 1364 | }; |
1365 | 1365 | ||
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 9034ca585afd..36015e0945b1 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -691,7 +691,7 @@ static int nbd_ioctl(struct inode *inode, struct file *file, | |||
691 | static struct block_device_operations nbd_fops = | 691 | static struct block_device_operations nbd_fops = |
692 | { | 692 | { |
693 | .owner = THIS_MODULE, | 693 | .owner = THIS_MODULE, |
694 | .ioctl = nbd_ioctl, | 694 | .__ioctl = nbd_ioctl, |
695 | }; | 695 | }; |
696 | 696 | ||
697 | /* | 697 | /* |
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 8bd557e2a659..6e6dcc1d4328 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c | |||
@@ -252,9 +252,9 @@ static int pcd_block_media_changed(struct gendisk *disk) | |||
252 | 252 | ||
253 | static struct block_device_operations pcd_bdops = { | 253 | static struct block_device_operations pcd_bdops = { |
254 | .owner = THIS_MODULE, | 254 | .owner = THIS_MODULE, |
255 | .open = pcd_block_open, | 255 | .__open = pcd_block_open, |
256 | .release = pcd_block_release, | 256 | .__release = pcd_block_release, |
257 | .ioctl = pcd_block_ioctl, | 257 | .__ioctl = pcd_block_ioctl, |
258 | .media_changed = pcd_block_media_changed, | 258 | .media_changed = pcd_block_media_changed, |
259 | }; | 259 | }; |
260 | 260 | ||
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index 5fdfa7c888ce..b3023844947c 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c | |||
@@ -807,9 +807,9 @@ static int pd_revalidate(struct gendisk *p) | |||
807 | 807 | ||
808 | static struct block_device_operations pd_fops = { | 808 | static struct block_device_operations pd_fops = { |
809 | .owner = THIS_MODULE, | 809 | .owner = THIS_MODULE, |
810 | .open = pd_open, | 810 | .__open = pd_open, |
811 | .release = pd_release, | 811 | .__release = pd_release, |
812 | .ioctl = pd_ioctl, | 812 | .__ioctl = pd_ioctl, |
813 | .getgeo = pd_getgeo, | 813 | .getgeo = pd_getgeo, |
814 | .media_changed = pd_check_media, | 814 | .media_changed = pd_check_media, |
815 | .revalidate_disk= pd_revalidate | 815 | .revalidate_disk= pd_revalidate |
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index a902d84fd330..e08ca5161ad8 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -264,9 +264,9 @@ static char *pf_buf; /* buffer for request in progress */ | |||
264 | 264 | ||
265 | static struct block_device_operations pf_fops = { | 265 | static struct block_device_operations pf_fops = { |
266 | .owner = THIS_MODULE, | 266 | .owner = THIS_MODULE, |
267 | .open = pf_open, | 267 | .__open = pf_open, |
268 | .release = pf_release, | 268 | .__release = pf_release, |
269 | .ioctl = pf_ioctl, | 269 | .__ioctl = pf_ioctl, |
270 | .getgeo = pf_getgeo, | 270 | .getgeo = pf_getgeo, |
271 | .media_changed = pf_check_media, | 271 | .media_changed = pf_check_media, |
272 | }; | 272 | }; |
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index a0ba4023953b..33ac8ddf4912 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -2847,9 +2847,9 @@ static int pkt_media_changed(struct gendisk *disk) | |||
2847 | 2847 | ||
2848 | static struct block_device_operations pktcdvd_ops = { | 2848 | static struct block_device_operations pktcdvd_ops = { |
2849 | .owner = THIS_MODULE, | 2849 | .owner = THIS_MODULE, |
2850 | .open = pkt_open, | 2850 | .__open = pkt_open, |
2851 | .release = pkt_close, | 2851 | .__release = pkt_close, |
2852 | .ioctl = pkt_ioctl, | 2852 | .__ioctl = pkt_ioctl, |
2853 | .media_changed = pkt_media_changed, | 2853 | .media_changed = pkt_media_changed, |
2854 | }; | 2854 | }; |
2855 | 2855 | ||
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 5c45d5556ae8..9398af86a7aa 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -998,9 +998,9 @@ static int floppy_revalidate(struct gendisk *disk) | |||
998 | } | 998 | } |
999 | 999 | ||
1000 | static struct block_device_operations floppy_fops = { | 1000 | static struct block_device_operations floppy_fops = { |
1001 | .open = floppy_open, | 1001 | .__open = floppy_open, |
1002 | .release = floppy_release, | 1002 | .__release = floppy_release, |
1003 | .ioctl = floppy_ioctl, | 1003 | .__ioctl = floppy_ioctl, |
1004 | .media_changed = floppy_check_change, | 1004 | .media_changed = floppy_check_change, |
1005 | .revalidate_disk= floppy_revalidate, | 1005 | .revalidate_disk= floppy_revalidate, |
1006 | }; | 1006 | }; |
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index bc04330f3683..5261773407da 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -1791,9 +1791,9 @@ static int ub_bd_media_changed(struct gendisk *disk) | |||
1791 | 1791 | ||
1792 | static struct block_device_operations ub_bd_fops = { | 1792 | static struct block_device_operations ub_bd_fops = { |
1793 | .owner = THIS_MODULE, | 1793 | .owner = THIS_MODULE, |
1794 | .open = ub_bd_open, | 1794 | .__open = ub_bd_open, |
1795 | .release = ub_bd_release, | 1795 | .__release = ub_bd_release, |
1796 | .ioctl = ub_bd_ioctl, | 1796 | .__ioctl = ub_bd_ioctl, |
1797 | .media_changed = ub_bd_media_changed, | 1797 | .media_changed = ub_bd_media_changed, |
1798 | .revalidate_disk = ub_bd_revalidate, | 1798 | .revalidate_disk = ub_bd_revalidate, |
1799 | }; | 1799 | }; |
diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c index 1730d29e6044..7f7beec29ebb 100644 --- a/drivers/block/viodasd.c +++ b/drivers/block/viodasd.c | |||
@@ -221,8 +221,8 @@ static int viodasd_getgeo(struct block_device *bdev, struct hd_geometry *geo) | |||
221 | */ | 221 | */ |
222 | static struct block_device_operations viodasd_fops = { | 222 | static struct block_device_operations viodasd_fops = { |
223 | .owner = THIS_MODULE, | 223 | .owner = THIS_MODULE, |
224 | .open = viodasd_open, | 224 | .__open = viodasd_open, |
225 | .release = viodasd_release, | 225 | .__release = viodasd_release, |
226 | .getgeo = viodasd_getgeo, | 226 | .getgeo = viodasd_getgeo, |
227 | }; | 227 | }; |
228 | 228 | ||
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 7643cd16fd67..10f157ea7b0b 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c | |||
@@ -180,7 +180,7 @@ static int virtblk_getgeo(struct block_device *bd, struct hd_geometry *geo) | |||
180 | } | 180 | } |
181 | 181 | ||
182 | static struct block_device_operations virtblk_fops = { | 182 | static struct block_device_operations virtblk_fops = { |
183 | .ioctl = virtblk_ioctl, | 183 | .__ioctl = virtblk_ioctl, |
184 | .owner = THIS_MODULE, | 184 | .owner = THIS_MODULE, |
185 | .getgeo = virtblk_getgeo, | 185 | .getgeo = virtblk_getgeo, |
186 | }; | 186 | }; |
diff --git a/drivers/block/xd.c b/drivers/block/xd.c index 624d30f7da3f..316fa1da4b9c 100644 --- a/drivers/block/xd.c +++ b/drivers/block/xd.c | |||
@@ -132,7 +132,7 @@ static int xd_getgeo(struct block_device *bdev, struct hd_geometry *geo); | |||
132 | 132 | ||
133 | static struct block_device_operations xd_fops = { | 133 | static struct block_device_operations xd_fops = { |
134 | .owner = THIS_MODULE, | 134 | .owner = THIS_MODULE, |
135 | .ioctl = xd_ioctl, | 135 | .__ioctl = xd_ioctl, |
136 | .getgeo = xd_getgeo, | 136 | .getgeo = xd_getgeo, |
137 | }; | 137 | }; |
138 | static DECLARE_WAIT_QUEUE_HEAD(xd_wait_int); | 138 | static DECLARE_WAIT_QUEUE_HEAD(xd_wait_int); |
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 1a50ae70f716..7efac80c8dde 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -1041,8 +1041,8 @@ static int blkif_release(struct inode *inode, struct file *filep) | |||
1041 | static struct block_device_operations xlvbd_block_fops = | 1041 | static struct block_device_operations xlvbd_block_fops = |
1042 | { | 1042 | { |
1043 | .owner = THIS_MODULE, | 1043 | .owner = THIS_MODULE, |
1044 | .open = blkif_open, | 1044 | .__open = blkif_open, |
1045 | .release = blkif_release, | 1045 | .__release = blkif_release, |
1046 | .getgeo = blkif_getgeo, | 1046 | .getgeo = blkif_getgeo, |
1047 | .ioctl = blkif_ioctl, | 1047 | .ioctl = blkif_ioctl, |
1048 | }; | 1048 | }; |
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 4a7a059ebaf7..e4efe5b7ec22 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c | |||
@@ -919,8 +919,8 @@ static int ace_getgeo(struct block_device *bdev, struct hd_geometry *geo) | |||
919 | 919 | ||
920 | static struct block_device_operations ace_fops = { | 920 | static struct block_device_operations ace_fops = { |
921 | .owner = THIS_MODULE, | 921 | .owner = THIS_MODULE, |
922 | .open = ace_open, | 922 | .__open = ace_open, |
923 | .release = ace_release, | 923 | .__release = ace_release, |
924 | .media_changed = ace_media_changed, | 924 | .media_changed = ace_media_changed, |
925 | .revalidate_disk = ace_revalidate_disk, | 925 | .revalidate_disk = ace_revalidate_disk, |
926 | .getgeo = ace_getgeo, | 926 | .getgeo = ace_getgeo, |
diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c index be20a67f1fa8..4860d0f36870 100644 --- a/drivers/block/z2ram.c +++ b/drivers/block/z2ram.c | |||
@@ -314,8 +314,8 @@ z2_release( struct inode *inode, struct file *filp ) | |||
314 | static struct block_device_operations z2_fops = | 314 | static struct block_device_operations z2_fops = |
315 | { | 315 | { |
316 | .owner = THIS_MODULE, | 316 | .owner = THIS_MODULE, |
317 | .open = z2_open, | 317 | .__open = z2_open, |
318 | .release = z2_release, | 318 | .__release = z2_release, |
319 | }; | 319 | }; |
320 | 320 | ||
321 | static struct kobject *z2_find(dev_t dev, int *part, void *data) | 321 | static struct kobject *z2_find(dev_t dev, int *part, void *data) |