diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-09 16:19:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-09 16:19:09 -0400 |
commit | f0153f9fd7c753b12d612d1e57833abb2a7aa059 (patch) | |
tree | ddffd72e5255ec7c6268415059c883efe1652410 /UUID.hs | |
parent | 81ed7b203d1c1af7a9c7a52c939eb0797fa16ab7 (diff) |
fix a race
Another process may stage journalled files before the lock is
taken, so need to get the list of journalled files afterwards.
It's unfortunate this means getting the directory contents twice,
but it seems better to do that than sometimes take the lock
unnecessarily.
Diffstat (limited to 'UUID.hs')
0 files changed, 0 insertions, 0 deletions