Whamcloud - gitweb
debugfs: fix rdump so it can start from the root directory
authorTheodore Ts'o <tytso@mit.edu>
Fri, 3 Jun 2016 03:05:11 +0000 (23:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Jun 2016 03:29:07 +0000 (23:29 -0400)
commitebb8b1aa045a0a43344c4ae581e1c342a9724d23
tree365075ebf9919a06a799d2113c82a2dde5eace76
parent377e3a96571b12d23662131b461a033618ab805c
debugfs: fix rdump so it can start from the root directory

Previously "rdump / /tmp/out" would fail with the error message:

rdump: File exists while making directory /tmp/out/

Also fix the fast symlink detection logic so that it works when a
symlink has one or more extended attributes.

Addresses-Debian-Bug: #766125

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/dump.c