mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mm: remove destroy_dirty_buffers from invalidate_bdev()
Remove the destroy_dirty_buffers argument from invalidate_bdev(), it hasn't been used in 6 years (so akpm says). find * -name \*.[ch] | xargs grep -l invalidate_bdev | while read file; do quilt add $file; sed -ie 's/invalidate_bdev(\([^,]*\),[^)]*)/invalidate_bdev(\1)/g' $file; done Signed-off-by: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0a27a14a62
commit
f98393a64c
13 changed files with 20 additions and 25 deletions
|
|
@ -2384,7 +2384,7 @@ static int cdrom_ioctl_reset(struct cdrom_device_info *cdi,
|
|||
return -EACCES;
|
||||
if (!CDROM_CAN(CDC_RESET))
|
||||
return -ENOSYS;
|
||||
invalidate_bdev(bdev, 0);
|
||||
invalidate_bdev(bdev);
|
||||
return cdi->ops->reset(cdi);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue