summaryrefslogtreecommitdiff
path: root/lockme.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+19
t name='dt' onchange='this.form.submit();'>
authorJosef Bacik <jbacik@fb.com>2016-05-27 13:08:26 -0400
committerDavid Sterba <dsterba@suse.com>2016-07-07 18:45:53 +0200
commitac2fabac4211431b607b326c2233e73b81e86af2 (patch)
treeae893ce479dfd9ae522322e890ef105fb7acd14a
parent40acc3eededbe16f6104a32776e541f223d00b5e (diff)
Btrfs: fill relocation block rsv after allocation
Since we set the reloc control before we've reserved our space for relocation we could race with a root being dirtied and not actually have space to do our init reloc root. So once we've allocated it and set it up go ahead and make our reservation before setting the relocate control, that way anybody who tries to do the reloc root init has space to use. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat