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-26 23:54:06 -0400 |
commit | 077e073e8f9ebc6bdd3f3f0324b16db07147a232 (patch) | |
tree | ce16ea16b55fb4fe3a1404bb1c482b1ce53196d6 /security | |
parent | a9d6cfb70f71e3d7fb4fe90db40f965e7096bdab (diff) | |
download | linux-stable-077e073e8f9ebc6bdd3f3f0324b16db07147a232.tar.gz linux-stable-077e073e8f9ebc6bdd3f3f0324b16db07147a232.tar.bz2 linux-stable-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 'security')
0 files changed, 0 insertions, 0 deletions