diff options
| author | Peter Zijlstra <[email protected]> | 2006-12-08 02:36:13 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-08 08:28:38 -0800 |
| commit | 2e7b651df113c8a463853e4169951c52c39f9d19 (patch) | |
| tree | 44749ea9d81931cbe5a753b972f6b9fde92a6496 /include/linux | |
| parent | 32694850a91bd4fedcdd4a46292f870588be81d1 (diff) | |
[PATCH] remove the old bd_mutex lockdep annotation
Remove the old complex and crufty bd_mutex annotation.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Neil Brown <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Jason Baron <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 70b99fbb560b..45f2cabb8c75 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -482,21 +482,6 @@ struct block_device { }; /* - * bdev->bd_mutex nesting subclasses for the lock validator: - * - * 0: normal - * 1: 'whole' - * 2: 'partition' - */ -enum bdev_bd_mutex_lock_class -{ - BD_MUTEX_NORMAL, - BD_MUTEX_WHOLE, - BD_MUTEX_PARTITION -}; - - -/* * Radix-tree tags, for tagging dirty and writeback pages within the pagecache * radix trees */ @@ -1499,7 +1484,6 @@ extern void bd_set_size(struct block_device *, loff_t size); extern void bd_forget(struct inode *inode); extern void bdput(struct block_device *); extern struct block_device *open_by_devnum(dev_t, unsigned); -extern struct block_device *open_partition_by_devnum(dev_t, unsigned); extern const struct address_space_operations def_blk_aops; #else static inline void bd_forget(struct inode *inode) {} @@ -1517,7 +1501,6 @@ extern int blkdev_driver_ioctl(struct inode *inode, struct file *file, extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); extern int blkdev_get(struct block_device *, mode_t, unsigned); extern int blkdev_put(struct block_device *); -extern int blkdev_put_partition(struct block_device *); extern int bd_claim(struct block_device *, void *); extern void bd_release(struct block_device *); #ifdef CONFIG_SYSFS |