clear_bit(B_PinPending, &b->flags);
ph = !!test_bit(B_Phase1, &b->flags);
+ fs = fs_from_inode(b->inode);
/* See if we still need to be pinned */
/* FIXME need some locking here ... */
if (test_bit(B_Pinned, &b->flags) &&
atomic_read(&iblk(b)->pincnt[1]) == 0))
) {
/* Don't need to be Pinned any more */
- fs = fs_from_inode(b->inode);
lafs_checkpoint_lock(fs);
if (test_and_clear_bit(B_Pinned, &b->flags)) {
if (onlru) {
list_del_init(&b->lru);
/* unlock */
}
- fs = fs_from_inode(b->inode);
spin_lock(&fs->lock);
if (list_empty(&b->lru)) {
if (test_bit(B_Realloc, &b->flags))
(1<<B_Dirty)))
) {
int credits;
- fs = fs_from_inode(b->inode);
/* Don't need ->parent any more */
if (next_parent == NULL)
next_parent = &b->parent->b;