]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
mm: remove destroy_dirty_buffers from invalidate_bdev()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sun, 6 May 2007 21:49:54 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:55 +0000 (12:12 -0700)
commitf98393a64ca1392130724c3acb4e3f325801d2b6
treeb02838bdf84156ac923bb37b6cf5f5ed6aaa3d48
parent0a27a14a62921b438bb6f33772690d345a089be6
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 <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 files changed:
block/ioctl.c
drivers/block/amiflop.c
drivers/block/loop.c
drivers/block/rd.c
drivers/cdrom/cdrom.c
drivers/md/md.c
fs/block_dev.c
fs/buffer.c
fs/dquot.c
fs/ext3/super.c
fs/ext4/super.c
fs/partitions/acorn.c
include/linux/buffer_head.h