diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-05-09 13:30:08 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-05-09 16:43:53 +0100 |
commit | 3d6ecb7d16fd4248fce58387a982a0756ad3fcc2 (patch) | |
tree | b988b57c8a46fcfabe3738ccdb8982d67cd24c97 /mm/hwpoison-inject.c | |
parent | 855d23ce2665c56437bd88fa6a0d45b6713bd194 (diff) | |
download | talos-obmc-linux-3d6ecb7d16fd4248fce58387a982a0756ad3fcc2.tar.gz talos-obmc-linux-3d6ecb7d16fd4248fce58387a982a0756ad3fcc2.zip |
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: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions