diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-04-24 22:12:57 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-27 05:54:06 +0200 |
commit | 077e073e8f9ebc6bdd3f3f0324b16db07147a232 (patch) | |
tree | ce16ea16b55fb4fe3a1404bb1c482b1ce53196d6 /fs/affs/affs.h | |
parent | fs/affs: remove node generation check (diff) | |
download | linux-077e073e8f9ebc6bdd3f3f0324b16db07147a232.tar.xz linux-077e073e8f9ebc6bdd3f3f0324b16db07147a232.zip |
fs/affs: bugfix: enable writes on OFS disks
We called unconditionally affs_bread_ino() with create 0 resulting in
"error (device ...): get_block(): strange block request 0"
when trying to write on AFFS OFS format.
This patch adds create parameter to that function.
0 for affs_readpage_ofs()
1 for affs_write_begin_ofs()
Bug was found here:
https://bugzilla.kernel.org/show_bug.cgi?id=114961
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/affs.h')
0 files changed, 0 insertions, 0 deletions