metastore.c: Improve removing empty dirs not present in metadata.
commit90fe96d4f4952f8c4d32290c1cafa517526bdcf3
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>
Wed, 2 Sep 2015 00:12:09 +0000 (2 02:12 +0200)
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>
Wed, 2 Sep 2015 00:12:09 +0000 (2 02:12 +0200)
tree7aedb0145f49dc4b9e25a04d37b2e0b7693435a5
parent8260dd2dc45eecba25ee44831f1dd02acc1043f9
metastore.c: Improve removing empty dirs not present in metadata.

Store extradirs list ordered by pathlen descendingly, so one traversal
should be enough to remove empty dirs.
metastore.c