]> git.neil.brown.name Git - LaFS.git/commit
Flush orphans before failing rmdir due to not being empty.
authorNeilBrown <neilb@suse.de>
Wed, 2 Sep 2009 00:09:51 +0000 (10:09 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 2 Sep 2009 00:09:51 +0000 (10:09 +1000)
commit4de7d024e84fc3fcf05bf2334347d7629649d4c3
tree3dbd1b5ec6d5340373d485dd400fb282184f457d
parent9714d9fed94da64b14eeb02c28f30b4437e59186
Flush orphans before failing rmdir due to not being empty.

Before we can be sure if a directory is empty, we need to
flush and orphans that might be holding space in the directory
in use.  Only then can a check on the file size be meaningful.
dir.c
lafs.h
orphan.c