]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
Add a support for new flag (EXT2FS_LINK_EXPAND) for ext2fs_link()
authorTheodore Ts'o <tytso@mit.edu>
Sun, 25 May 2025 04:39:13 +0000 (00:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 25 May 2025 05:28:01 +0000 (01:28 -0400)
commit0a5dc78ba4dce69bdb320e51a79def9d2e0102d4
tree408a0ffdcaed0a7a3027180bc5cd42d4fe08a7fc
parent03fa1a5ee55d0653f5931cea3cab760599bab216
Add a support for new flag (EXT2FS_LINK_EXPAND) for ext2fs_link()

Many calls to ext2fs_link() checks for EXT2_ET_DIR_NO_SPACE and if so,
calls ext2fs_expand_dir() and then retries the ext2fs_link().  We can
simplify a lot of code by adding support for a flag which does the
retry into the ext2fs_link() function.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass3.c
lib/ext2fs/ext2fs.h
lib/ext2fs/link.c
misc/create_inode.c
misc/create_inode_libarchive.c
misc/fuse2fs.c
misc/mk_hugefiles.c