Skip to content
Commit 5befc19c authored by Xiubo Li's avatar Xiubo Li Committed by Eric Biggers
Browse files

fscrypt: explicitly require that inode->i_blkbits be set

Document that fscrypt_prepare_new_inode() requires inode->i_blkbits to
be set, and make it WARN if it's not.  This would have made the CephFS
bug https://tracker.ceph.com/issues/64035

 a bit easier to debug.

Signed-off-by: default avatarXiubo Li <xiubli@redhat.com>
Link: https://lore.kernel.org/r/20240201003525.1788594-1-xiubli@redhat.com


Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 41bccc98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment