diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-04-24 22:13:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-26 23:54:06 -0400 |
commit | a80f2d2224544f708b50091b18753f4b530f70c1 (patch) | |
tree | 3fd08cd95bea4b44a3dbfa844471f8f3da1b61b6 /fs/stat.c | |
parent | 077e073e8f9ebc6bdd3f3f0324b16db07147a232 (diff) | |
download | linux-stable-a80f2d2224544f708b50091b18753f4b530f70c1.tar.gz linux-stable-a80f2d2224544f708b50091b18753f4b530f70c1.tar.bz2 linux-stable-a80f2d2224544f708b50091b18753f4b530f70c1.zip |
fs/affs: bugfix: Write files greater than page size on OFS
Previous AFFS patch fixed OFS write operations but unveiled
another bug: files greater than 4KB are being created with a wrong
size resulting in errors like the following:
dd if=/dev/zero of=file bs=4097 count=1
cp file /mnt/affs/
cp: error writing '/mnt/affs/file': Bad address
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions