diff options
author | Jan Kara <[email protected]> | 2023-12-13 17:51:04 +0100 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2023-12-13 13:09:36 -0500 |
commit | 8bf771972b8468b6a841d088141ac2960e6927fd (patch) | |
tree | 2bc812a3c1771e05a6a6edc320b2994ed2d1482c /scripts/gdb/linux | |
parent | bedd6fe4d357f3cffb392f2153b52ef71f810259 (diff) |
bcachefs: Fix determining required file handle length
The ->encode_fh method is responsible for setting amount of space
required for storing the file handle if not enough space was provided.
bch2_encode_fh() was not setting required length in that case which
breaks e.g. fanotify. Fix it.
Reported-by: Petr Vorel <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions