gfs2_mkdir(9)
π gfs2_mkdir(9) β Kernel API Manual π
okay so bestie, this is the gfs2_mkdir(9) page from the Kernel API Manual, and it's giving very specific main-character energy: Make a directory. That's the whole assignment. β¨
πΈ NAME πΈ
gfs2_mkdir β Make a directory π
π¦ SYNOPSIS π¦
struct dentry * gfs2_mkdir (struct mnt_idmap *idmap , struct inode *dir
, struct dentry *dentry , umode_t mode );
π ARGUMENTS π
idmapβ the idmap of the mount the inode was found from. yes, that exact one πdirβ the parent directory of the new one. she's literally the parent, no cap π«Άdentryβ the dentry of the new directory. iconic little handle tbh πmodeβ the mode of the new directory. set the vibe, bestie π
β RETURN β
you get the dentry back, or ERR_PTR(errno) if it's not slaying π
π SEE ALSO π
the kernel file is ./fs/gfs2/inode.c, and the whole friend group is: gfs2_set_iop(9), gfs2_inode_lookup(9), gfs2_lookup_by_inum(9), gfs2_lookup_meta(9), gfs2_lookupi(9), create_ok(9), gfs2_init_xattr(9), init_dinode(9), gfs2_trans_da_blks(9), gfs2_create_inode(9), gfs2_create(9), __gfs2_lookup(9), gfs2_link(9), gfs2_unlink_inode(9), gfs2_unlink(9), gfs2_symlink(9), gfs2_mknod(9), gfs2_atomic_open(9), update_moved_ino(9), gfs2_rename(9), gfs2_exchange(9), gfs2_get_link(9), gfs2_permission(9), gfs2_setattr(9), gfs2_getattr(9). periodt. π₯
mwah π this cutie came from ./fs/gfs2, dated October 2026, and it's gfs2_mkdir(9) β bye 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