diff options
author | Su Yue <suy.fnst@cn.fujitsu.com> | 2017-08-29 11:23:46 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-16 20:33:00 +0200 |
commit | 3cfd3f608c9f4fbe5dbeef2636de77a8a8ccbae3 (patch) | |
tree | 645cd83b608476dbcaa5305d20f798bf1951f452 /help.c | |
parent | 2194fab07178e2bc3d6b62f8e4247baaf6308620 (diff) |
btrfs-progs: check: repair inode nlink in lowmem
New function repair_inode_nlinks_lowmem() sets nlink of the inode to refs.
If refs equals 0, move the inode to lost+found and set refs to 1
initially.
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions