]> git.neil.brown.name Git - LaFS.git/commit
Avoid inadvertently flush blocks that are in middle of a transaction.
authorNeilBrown <neilb@suse.de>
Thu, 3 Sep 2009 05:28:15 +0000 (15:28 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 3 Sep 2009 05:28:15 +0000 (15:28 +1000)
commit9af47d20f06d2fd9cc32600cba3276a341efe43e
tree9989bd0afed91476e4a28c047916c4f0d00a7523
parent3ab06bc80f900cac6dc7fdc669280bada744c091
Avoid inadvertently flush blocks that are in middle of a transaction.

If a directory block has PinPending, then a transaction is in progress
and flushing the block (e.g. pdflush) would be a bad idea, as we could
lose the credit before the final update.
file.c