summaryrefslogtreecommitdiff
path: root/misc/fsck.h
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@sun.com>2008-02-02 01:25:03 -0700
committerTheodore Ts'o <tytso@mit.edu>2008-03-15 01:39:19 -0400
commita7c9cb7d0dc464eda26958595b728a6c3a4cacbc (patch)
tree3a71feaadfd00d7b8f4cdfa71631dd05692600ea /misc/fsck.h
parent60bbd1af533daf8c726d6e5e4f17b293494bd939 (diff)
downloade2fsprogs-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