From a99f1593786718442ab84cb3a3f6ae34af41b7b4 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Thu, 4 Jul 2002 08:53:28 -0700 Subject: [PATCH] kdev_t crapectomy * since the last caller of is_read_only() is gone, the function itself is removed. * destroy_buffers() is not used anymore; gone. * fsync_dev() is gone; the only user is (broken) lvm.c and first step in fixing lvm.c will consist of propagating struct block_device * anyway; at that point we'll just use fsync_bdev() in there. * prototype of bio_ioctl() removed - function doesn't exist anymore. --- fs/buffer.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'fs/buffer.c') diff --git a/fs/buffer.c b/fs/buffer.c index dde8e7d9bae6..02760245c846 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -243,22 +243,6 @@ int fsync_bdev(struct block_device *bdev) return sync_blockdev(bdev); } -/* - * Write out and wait upon all dirty data associated with this - * kdev_t. Filesystem data as well as the underlying block - * device. Takes the superblock lock. - */ -int fsync_dev(kdev_t dev) -{ - struct block_device *bdev = bdget(kdev_t_to_nr(dev)); - if (bdev) { - int res = fsync_bdev(bdev); - bdput(bdev); - return res; - } - return 0; -} - /* * sync everything. */ -- cgit v1.2.3