Displaying 1 result from an estimated 1 matches for "11fc4b1".
Did you mean:
11f2461
2013 Mar 01
0
unremovable dirs from failed unlink
...''t zero but there are no
items left to remove and decrease i_size.
At the time casual code inspection implied that this would be possible
in unlucky error cases. I finally got around to really reading up and
reproducing it.
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index ecd9c4c..11fc4b1 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3592,8 +3592,11 @@ static int __btrfs_unlink_inode(struct btrfs_trans_handle *trans,
goto err;
}
- ret = btrfs_del_dir_entries_in_log(trans, root, name, name_len,
- dir,...