diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-18 18:06:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-18 18:06:06 -0800 |
| commit | 2b11e5180f112059e0ada3767eba89333b8d282f (patch) | |
| tree | 3c600733f182b5f7a6bc417a0568f53aff6a05ab /include/linux | |
| parent | 621d5c9e1eec93027baf2d2b9b75cabc4ba229e8 (diff) | |
[PATCH] bdev: presto conversion
From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>
presto_journal_close() switched to passing struct presto_file_data * instead
of bogus struct file *. The only field of struct file we used to look at was
file->private_data and most of the callers allocated on-stack struct file,
assigned file.private_data and passed the sucker to presto_journal_close().
Idiocy removed.
Looks like they started with case where the data they wanted all along was,
indeed, in ->private_data of already available struct file, so they just
passed pointer to struct file. And when they found that they need to call it
in other places where there was no such struct file, they'd done it the dumb
way instead of fixing the prototype...
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
