aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Iliopoulos <ailiop@suse.com>2022-02-03 12:42:30 -0500
committerEric Sandeen <sandeen@sandeen.net>2022-02-03 12:42:30 -0500
commit15689d8ce87875fbee2b46c899f8fb9f21b0b669 (patch)
tree41a998d6db2097046ca7d7f25f19a2369001ff41
parent25b42fbfd5edb2db1da225991c2a64d5a6a99689 (diff)
downloadxfsdump-dev-15689d8ce87875fbee2b46c899f8fb9f21b0b669.tar.gz
xfsdump: remove obsolete code for handling mountpoint inodes
The S_IFMNT file type was never supported in Linux, remove the last vestiges. Signed-off-by: Anthony Iliopoulos <ailiop@suse.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r--doc/xfsdump.html5
-rw-r--r--dump/content.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/doc/xfsdump.html b/doc/xfsdump.html
index d4d157fa..9d06129a 100644
--- a/doc/xfsdump.html
+++ b/doc/xfsdump.html
@@ -102,9 +102,8 @@ or stdout. The dump includes all the filesystem objects of:
<li>named pipes (S_FIFO)
<li>XENIX named pipes (S_IFNAM)
</ul>
-but not mount point types (S_IFMNT).
-It also does not dump files from <i>/var/xfsdump</i> which
-is where the xfsdump inventory is located.
+It does not dump files from <i>/var/xfsdump</i> which is where the
+xfsdump inventory is located.
Other data which is stored:
<ul>
<li> file attributes (stored in stat data) of owner, group, permissions,
diff --git a/dump/content.c b/dump/content.c
index 30232d42..7637fe89 100644
--- a/dump/content.c
+++ b/dump/content.c
@@ -3913,9 +3913,6 @@ dump_file(void *arg1,
contextp->cc_stat_lastino = statp->bs_ino;
}
return RV_OK;
- /* not yet implemented
- case S_IFMNT:
- */
}
if (rv == RV_OK