[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: locking the super_block in ext2fs
From: root <gabrielo () cs ! huji ! ac ! il>
Date: 2000-04-30 15:17:33
[Download RAW message or body]
hi
i'm trying to write a block allocator which gonna co-exists with the
ext2fs module.
my question is how can i lock the super_block to avoid conflicits on
SMP machines ?
i saw that the lock_kernel function recieve a pointer to the super_block
struct, so i guess it must point to the same struct which the ext2fs
module is holding.
how can i get a referance to it ? it looks like the read_super and the
ext2fs_open both read the data from the disk into a newly allocated
struct.
/gabriel
please CC me for any answer as i'm not register to the mailing list
-
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic