Re: lock/unlock_super and inode bitmaps.

Tigran Aivazian (tigran@sco.COM)
Wed, 27 Oct 1999 08:41:08 +0100 (BST)


On Wed, 27 Oct 1999, Tigran Aivazian wrote:
> So, the question is - is it right to lock/unlock_super(sb) in
> XXX_new_inode()/XXX_free_inode() or do I need to invent my own lock for
> this purpose (or do I need no locks at all for some magical reason that
> currently escapes me)? (and where is lock_super for the unlock_super in
> minix_new_inode?)

Interestingly, ext2_new_inode() does have the explicit lock_super(sb). So,
could this be just a bug in minix_new_inode()?

Regards,
Tigran.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/