diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-07-04 08:53:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-04 08:53:28 -0700 |
| commit | a99f1593786718442ab84cb3a3f6ae34af41b7b4 (patch) | |
| tree | a4cd4bb3a0fb07c6d5f567ddda3bcc885280a3d7 /fs/buffer.c | |
| parent | 67addbac9d8cc2f9c21711fe4902a165f1783ae8 (diff) | |
[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.
Diffstat (limited to 'fs/buffer.c')
| -rw-r--r-- | fs/buffer.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index dde8e7d9bae6..02760245c846 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -244,22 +244,6 @@ int fsync_bdev(struct block_device *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. */ asmlinkage long sys_sync(void) |
