dump.f2fs: dump symlink contents in lost_found
PATCH 1/1 dump.f2fs: dump symlink contents in lost_found
Let's allow to show symlink path.
Signed-off-by Jaegeuk Kim <[email protected]>
--- fsck/dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fsck/dump.c +2 -1
@@ -424,7 +424,8 @@ static void dump_file(struct f2fs_sb_info *sbi, struct node_info *ni,return ; } -if (!S_ISREG (imode) || namelen ==0 || namelen >F2FS_NAME_LEN ) { +if ((!S_ISREG (imode) && !S_ISLNK (imode)) || + namelen ==0 || namelen >F2FS_NAME_LEN ) {MSG (force,"Not a regular file or wrong name info\n\n" );return ; }
Signature · 8 lines
2.27.0.383.g050319c2ae-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel