Fix a bug in committing of dirty inodes to stable storage.