diff options
author | Chen Zhongjin <chenzhongjin@huawei.com> | 2022-12-09 13:04:48 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-12-10 22:13:37 +0300 |
commit | e0c49bd2b4d3cd1751491eb2d940bce968ac65e9 (patch) | |
tree | 05fadb8950a93b8d9becf435b02cace623ee7152 /include/acpi | |
parent | ea258f159da14a710f9cb88656558538b5ba5b76 (diff) | |
download | linux-e0c49bd2b4d3cd1751491eb2d940bce968ac65e9.tar.xz |
fs: sysv: Fix sysv_nblocks() returns wrong value
sysv_nblocks() returns 'blocks' rather than 'res', which only counting
the number of triple-indirect blocks and causing sysv_getattr() gets a
wrong result.
[AV: this is actually a sysv counterpart of minixfs fix -
0fcd426de9d0 "[PATCH] minix block usage counting fix" in
historical tree; mea culpa, should've thought to check
fs/sysv back then...]
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions