adjust_fs_space(9)
adjust_fs_space(9) π
hey bestie, welcome to the Kernel API Manual, section 9 β we're doing kernel-space free-space math and we're gonna be so normal about it π«Άβ¨
πΈ NAME πΈ
adjust_fs_space β adjusts the free space available due to gfs2_grow. that's the whole assignment, no cap π
β¨ SYNOPSIS β¨
void adjust_fs_space (struct inode *inode );
π ARGUMENTS π
inodeβ the rindex inode. that's the one, bestie π
π¦ SEE ALSO π¦
the kernel file is ./fs/gfs2/aops.c, and these are the linked-up besties you should also peek at ππ«
gfs2_get_block_noalloc(9)gfs2_write_jdata_folio(9)__gfs2_jdata_write_folio(9)gfs2_jdata_writeback(9)gfs2_writepages(9)gfs2_write_jdata_batch(9)gfs2_write_cache_jdata(9)gfs2_jdata_writepages(9)stuffed_read_folio(9)gfs2_read_folio(9)gfs2_internal_read(9)gfs2_readahead(9)gfs2_bmap(9)gfs2_release_folio(9)
okay that's the whole page, and yes it's short β sometimes the manual is literally just one function and a dream π
source/version is ./fs/gfs2, dated October 2026 β mwah, mwah, see you in the kernel bestie πππ
π¦ 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