Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3d6ecb7d authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: When adding a new dir entry, inc link count if it is a subdir



This adds an increment of the link count when we add a new directory
entry, if that entry is itself a directory. This means that we no
longer need separate code to perform this operation.

Now that both adding and removing directory entries automatically
update the parent directory's link count if required, that makes
the code shorter and simpler than before.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 855d23ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment