gfs2_dir_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:

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