Commit 9cebd026 authored by Andrew Morton's avatar Andrew Morton Committed by Vojtech Pavlik

[PATCH] fix hugetlbfs_forget_inode() oddity

- hugetlbfs_forget_inode() should be using ||
parent b1a09ec1
......@@ -211,7 +211,7 @@ static void hugetlbfs_forget_inode(struct inode *inode)
list_add(&inode->i_list, &inode_unused);
}
inodes_stat.nr_unused++;
if (!super_block | (super_block->s_flags & MS_ACTIVE)) {
if (!super_block || (super_block->s_flags & MS_ACTIVE)) {
spin_unlock(&inode_lock);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment