]> git.neil.brown.name Git - LaFS.git/commit
Better status handling for orphan handlers.
authorNeilBrown <neilb@suse.de>
Sat, 10 Jul 2010 11:39:06 +0000 (21:39 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 10 Jul 2010 11:39:06 +0000 (21:39 +1000)
commit0874e4d31bb5797fc7653c75b71a1d3ea3613eb8
treeac970ae42614234bc9947e0cd4d156155c7415cb
parent347fc7b417753a3a29af007defb05607079dcc88
Better status handling for orphan handlers.

- let them return -ENOMEM resulting in a retry 'soon'.
- let them return -ERESTARTSYS resulting in immediate retry
- general tidy up

This fixes a bug where inode_orphan_handle would do part of
the work and not schedule any more.

Signed-off-by: NeilBrown <neilb@suse.de>
dir.c
inode.c
lafs.h
orphan.c