diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-09-04 16:27:20 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 02:56:12 -0400 |
commit | 0c002c2f74e10baa9021d3ecc50585c6eafea568 (patch) | |
tree | c7d29fe0968b852f798f78bbd9231df155c56180 /include/linux/fs.h | |
parent | 243294dae09c909c0442c8f04d470b69c3c19d6e (diff) |
Wrapper for lower-level revalidate_disk routines.
This is a wrapper for the lower-level revalidate_disk call-backs such
as sd_revalidate_disk(). It allows us to perform pre and post
operations when calling them.
We will use this wrapper in a later patch to adjust block device sizes
after an online resize (a _post_ operation).
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 02a9fb5a830c..d63461f97983 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1722,6 +1722,7 @@ extern int fs_may_remount_ro(struct super_block *); | |||
1722 | */ | 1722 | */ |
1723 | #define bio_data_dir(bio) ((bio)->bi_rw & 1) | 1723 | #define bio_data_dir(bio) ((bio)->bi_rw & 1) |
1724 | 1724 | ||
1725 | extern int revalidate_disk(struct gendisk *); | ||
1725 | extern int check_disk_change(struct block_device *); | 1726 | extern int check_disk_change(struct block_device *); |
1726 | extern int __invalidate_device(struct block_device *); | 1727 | extern int __invalidate_device(struct block_device *); |
1727 | extern int invalidate_partition(struct gendisk *, int); | 1728 | extern int invalidate_partition(struct gendisk *, int); |