]> git.neil.brown.name Git - LaFS.git/commit
lafs_iget takes a filesystem-inode rather than a super_block.
authorNeilBrown <neilb@suse.de>
Mon, 7 Mar 2011 05:58:56 +0000 (16:58 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 7 Mar 2011 05:58:56 +0000 (16:58 +1100)
commit5f39448d46d307b08f58eba59b8e0147b9e9fc45
tree0cf9186f4fd7ca2aa084a382b286ecf2a24f575b
parent3e0388df7485276e6739362a141189796de6de84
lafs_iget takes a filesystem-inode rather than a super_block.

On the path to reducing the number of superblocks.... each superblock
can hold multiple subset filesystems so we need more than the
inode number to identify a file - we need the filesystem inode too.

So change lafs_iget to take a filesystem inode rather than a
superblock.

We still need to get at the superblock.  In a few patches we can just
use ->i_sb, but for now it might not be the same so stash it in
i_private.

Signed-off-by: NeilBrown <neilb@suse.de>
dir.c
inode.c
lafs.h
roll.c
snapshot.c
super.c