fscrypt_drop_inode(9)
π NAME π
okay bestie, this is fscrypt_drop_inode(9), straight from the Kernel API Manual β and itβs literally here to check whether the inodeβs master key has been removed.
fscrypt_drop_inodeβ check whether the inodeβs master key has been removed.
β¨ SYNOPSIS β¨
okay so the signature is exactly this, no edits, no cap:
int fscrypt_drop_inode (struct inode *inode );
π ARGUMENTS π
inodeβ an inode being considered for eviction. yes, thatβs the whole vibe π«Ά
πΈ DESCRIPTION πΈ
Filesystems that support fscrypt must call this from their ->drop_inode method, so that encrypted inodes get evicted as soon as theyβre no longer in use and their master key has been removed. itβs giving βclean up your room before you leave,β but for inodes π
π¦ RETURN π¦
1 if fscrypt wants the inode to be evicted now, otherwise 0. so 1 is the βgo off, leave the chatβ signal, and 0 is βnah, stay a lil longerβ β¨
π SEE ALSO π
- Kernel file
./fs/crypto/keysetup.c fscrypt_get_encryption_info(9)fscrypt_prepare_new_inode(9)fscrypt_put_encryption_info(9)fscrypt_free_inode(9)
π okay bye bestie β this was fscrypt_drop_inode(9), source/version ./fs/crypto, dated October 2026 π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms