diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-02-22 18:26:17 +0100 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 06:58:04 +0100 |
commit | 9954e7af14868b8b79e76b7b88daaf0b3866db33 (patch) | |
tree | 562b473d974ee6715cff8732e518a9e187c50d38 /Documentation/PCI/pci-error-recovery.txt | |
parent | nilfs2: decrement inodes count only if raw inode was successfully deleted (diff) | |
download | linux-9954e7af14868b8b79e76b7b88daaf0b3866db33.tar.xz linux-9954e7af14868b8b79e76b7b88daaf0b3866db33.zip |
nilfs2: add free entries count only if clear bit operation succeeded
Three functions of the current persistent object allocator,
nilfs_palloc_commit_free_entry, nilfs_palloc_abort_alloc_entry, and
nilfs_palloc_freev functions unconditionally add a counter after doing
clear bit operation on a bitmap block.
If the clear bit operation overlapped, the counter will not add up.
This fixes the issue by making the counter operations conditional.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'Documentation/PCI/pci-error-recovery.txt')
0 files changed, 0 insertions, 0 deletions