gfs2_dir_del(9)
π gfs2_dir_del(9) π
okay so bestie, welcome to the gfs2_dir_del page from the Kernel API Manual β yes we're in kernel-land today and yes it's gonna be cute AND correct π
πΈ NAME πΈ
gfs2_dir_del β literally deletes a directory entry. that's it, that's the whole vibe. bye-bye dir entry, we hardly knew ye β¨
π¦ SYNOPSIS π¦
int gfs2_dir_del (struct gfs2_inode *dip , const struct dentry *dentry );
π ARGUMENTS π
dipβ the GFS2 inode. this is the inode doing the main character work here π₯dentryβ the directory entry we want to delete. the one getting uninvited from the party π
β RETURN β
0 on success, or an error code on failure. that's the whole deal fr fr π«Ά
π SEE ALSO π
the kernel file ./fs/gfs2/dir.c and honestly its whole friend group:
gfs2_dir_write_data(9)gfs2_dir_read_data(9)gfs2_dir_get_hash_table(9)gfs2_dir_hash_inval(9)dirent_next(9)dirent_del(9)get_leaf_nr(9)dir_make_exhash(9)dir_split_leaf(9)dir_double_exhash(9)compare_dents(9)do_filldir_main(9)gfs2_dir_readahead(9)dir_e_read(9)gfs2_dir_search(9)dir_new_leaf(9)gfs2_dir_add(9)gfs2_dir_mvino(9)leaf_dealloc(9)gfs2_dir_exhash_dealloc(9)gfs2_diradd_alloc_required(9)
like, the whole directory squad showed up π periodt.
π reminder bestie: gfs2_dir_del only handles the deleting part β don't go assuming anything about the rest, iykyk π
signed off with love from ./fs/gfs2 π β October 2026 edition, mwah ππ¦π
π¦ 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