diff options
author | Christoph Hellwig <hch@lst.de> | 2005-05-05 16:15:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 16:36:44 -0700 |
commit | 2ef41634def0fcb0def3e3c90220c651ca478cb3 (patch) | |
tree | 86fb9c439ad5043d38d69588975e84bd8b565619 /drivers/block/floppy.c | |
parent | 91bb52416854dfd581efe6e2a0aca8dc655f043e (diff) | |
download | op-kernel-dev-2ef41634def0fcb0def3e3c90220c651ca478cb3.zip op-kernel-dev-2ef41634def0fcb0def3e3c90220c651ca478cb3.tar.gz |
[PATCH] remove do_sync parameter from __invalidate_device
The only caller that ever sets it can call fsync_bdev itself easily. Also
update some comments.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r-- | drivers/block/floppy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 42dfa28..f0c1084 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -3345,7 +3345,7 @@ static inline int set_geometry(unsigned int cmd, struct floppy_struct *g, struct block_device *bdev = opened_bdev[cnt]; if (!bdev || ITYPE(drive_state[cnt].fd_device) != type) continue; - __invalidate_device(bdev, 0); + __invalidate_device(bdev); } up(&open_lock); } else { |