mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08:00
staging: lustre: remove ll_invalidate_bdev()
It was a wrapper around invalidate_bdev(), totally useless. Cc: Peng Tao <tao.peng@emc.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
077069aec2
commit
db7392c2fb
@ -95,8 +95,6 @@ static inline void ll_set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt,
|
||||
#define TREE_READ_LOCK_IRQ(mapping) spin_lock_irq(&(mapping)->tree_lock)
|
||||
#define TREE_READ_UNLOCK_IRQ(mapping) spin_unlock_irq(&(mapping)->tree_lock)
|
||||
|
||||
#define ll_invalidate_bdev(a,b) invalidate_bdev((a))
|
||||
|
||||
#ifndef FS_HAS_FIEMAP
|
||||
#define FS_HAS_FIEMAP (0)
|
||||
#endif
|
||||
|
@ -573,7 +573,7 @@ static int loop_clr_fd(struct lloop_device *lo, struct block_device *bdev,
|
||||
lo->lo_offset = 0;
|
||||
lo->lo_sizelimit = 0;
|
||||
lo->lo_flags = 0;
|
||||
ll_invalidate_bdev(bdev, 0);
|
||||
invalidate_bdev(bdev);
|
||||
set_capacity(disks[lo->lo_number], 0);
|
||||
bd_set_size(bdev, 0);
|
||||
mapping_set_gfp_mask(filp->f_mapping, gfp);
|
||||
|
Loading…
Reference in New Issue
Block a user