diff options
| author | David Sterba <[email protected]> | 2018-04-16 19:10:14 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-04-18 22:35:08 +0000 |
| commit | 92d32170847bfff2dd08af2c016085779f2fd2a1 (patch) | |
| tree | a86cbb655e5a787084da9c57b96de6bdcfd93b2e /drivers/fpga/fpga-region.c | |
| parent | btrfs: Fix wrong btrfs_delalloc_release_extents parameter (diff) | |
| download | kernel-92d32170847bfff2dd08af2c016085779f2fd2a1.tar.gz kernel-92d32170847bfff2dd08af2c016085779f2fd2a1.zip | |
btrfs: fix unaligned access in readdir
The last update to readdir introduced a temporary buffer to store the
emitted readdir data, but as there are file names of variable length,
there's a lot of unaligned access.
This was observed on a sparc64 machine:
Kernel unaligned access at TPC[102f3080] btrfs_real_readdir+0x51c/0x718 [btrfs]
Fixes: 23b5ec74943 ("btrfs: fix readdir deadlock with pagefault")
CC: [email protected] # 4.14+
Reported-and-tested-by: René Rebe <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
