diff options
author | Andreas Dilger <adilger@sun.com> | 2008-02-02 01:25:03 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-03-15 01:39:19 -0400 |
commit | a7c9cb7d0dc464eda26958595b728a6c3a4cacbc (patch) | |
tree | 3a71feaadfd00d7b8f4cdfa71631dd05692600ea /misc/fsck.h | |
parent | 60bbd1af533daf8c726d6e5e4f17b293494bd939 (diff) | |
download | e2fsprogs-a7c9cb7d0dc464eda26958595b728a6c3a4cacbc.tar.gz |
Add support for the DIR_NLINK feature.
This patch includes the changes required to e2fsck to understand the
nlink count changes made in the kernel.
In e2fsck pass 4, when we fetch the actual link count, if it is
exceeds 65,000 we set the link count to 1. We silently fix the
situation where the nlink count of the directory is 1, and there are
fewer than 65,000 subdirectories, since since that can happen
naturally.
Patch originally from CFS, significantly rewritten by Theodore Ts'o.
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/fsck.h')
0 files changed, 0 insertions, 0 deletions