inode_to_wb_and_lock_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– inode_to_wb_and_lock_list(9) πŸ’–

okay so bestie, welcome to this little page from the Kernel API Manual β€” we're talking about inode_to_wb_and_lock_list, and it's giving "find the wb, then lock it" energy. no cap. 🫢


✨ SYNOPSIS ✨

struct bdi_writeback * inode_to_wb_and_lock_list (struct inode *inode );

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” the inode of interest. that's the one we're looking at, bestie πŸ‘€

🌸 DESCRIPTION 🌸

so this is literally the same as locked_inode_to_wb_and_lock_list, except for one iconic little detail: inode->i_lock is not held on entry. nope, not held. don't come in here assuming it is. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

the Kernel file is right here: ./fs/fs-writeback.c, and the whole friend group is:


mwah πŸ’‹ source/version corner: it's from ./fs, dated October 2026, and the page tag is inode_to_wb_and_lock_list(9). byeee 🫢✨

πŸ“¦ where this page comes from