diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-08-10 02:21:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-08-10 02:21:36 -0700 |
| commit | 814bd2ba199743fb93045459f28f521036671b86 (patch) | |
| tree | 703864fc6ac162e26356e2166f4562609b7f8d3e /include | |
| parent | 5c2f64032dc44de9ce42a9c52dbe675f6cafba1d (diff) | |
[PATCH] make check_disk_change() use struct block_device
check_disk_change() converted to passing struct block_device.
Old variant is still needed for a couple of places; wrapper
is provided (__check_disk_change(kdev)). do_open() logics
with setting ->bd_op sanitized - now we do that before calling
->open().
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 66aea391ce29..b0d9ffe25088 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1131,7 +1131,8 @@ extern int fs_may_remount_ro(struct super_block *); */ #define bio_data_dir(bio) ((bio)->bi_rw & 1) -extern int check_disk_change(kdev_t); +extern int check_disk_change(struct block_device *); +extern int __check_disk_change(dev_t); extern int invalidate_inodes(struct super_block *); extern int invalidate_device(kdev_t, int); extern void invalidate_inode_pages(struct inode *); |
