diff options
author | Xiubo Li <xiubli@redhat.com> | 2024-01-18 07:24:41 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-02-07 14:43:29 +0100 |
commit | bbb20ea993f46743f7429092ddc52f1a5c5428ef (patch) | |
tree | 934e9518d85b609784b626a8d04b186e9bd837d4 /tools/mm/page_owner_sort.c | |
parent | libceph: just wait for more data to be available on the socket (diff) | |
download | linux-bbb20ea993f46743f7429092ddc52f1a5c5428ef.tar.xz linux-bbb20ea993f46743f7429092ddc52f1a5c5428ef.zip |
ceph: always set initial i_blkbits to CEPH_FSCRYPT_BLOCK_SHIFT
The fscrypt code will use i_blkbits to setup ci_data_unit_bits when
allocating the new inode, but ceph will initiate i_blkbits ater when
filling the inode, which is too late. Since ci_data_unit_bits will only
be used by the fscrypt framework so initiating i_blkbits with
CEPH_FSCRYPT_BLOCK_SHIFT is safe.
Link: https://tracker.ceph.com/issues/64035
Fixes: 5b1188847180 ("fscrypt: support crypto data unit size less than filesystem block size")
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/mm/page_owner_sort.c')
0 files changed, 0 insertions, 0 deletions