Home
last modified time | relevance | path

Searched hist:"68 f64d471be38631d7196b938d9809802dd467fa" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ocfs2/
H A Dresize.cdiff 68f64d471be38631d7196b938d9809802dd467fa Thu Nov 13 16:49:14 CST 2008 Joel Becker <joel.becker@oracle.com> ocfs2: Wrap group descriptor reads in a dedicated function.

We have a clean call for validating group descriptors, but every place
that wants the always does a read_block()+validate() call pair. Create
a toplevel ocfs2_read_group_descriptor() that does the right
thing. This allows us to leverage the single call point later for
fancier handling. We also add validation of gd->bg_generation against
the superblock and gd->bg_blkno against the block we thought we read.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
H A Dsuballoc.hdiff 68f64d471be38631d7196b938d9809802dd467fa Thu Nov 13 16:49:14 CST 2008 Joel Becker <joel.becker@oracle.com> ocfs2: Wrap group descriptor reads in a dedicated function.

We have a clean call for validating group descriptors, but every place
that wants the always does a read_block()+validate() call pair. Create
a toplevel ocfs2_read_group_descriptor() that does the right
thing. This allows us to leverage the single call point later for
fancier handling. We also add validation of gd->bg_generation against
the superblock and gd->bg_blkno against the block we thought we read.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
H A Dsuballoc.cdiff 68f64d471be38631d7196b938d9809802dd467fa Thu Nov 13 16:49:14 CST 2008 Joel Becker <joel.becker@oracle.com> ocfs2: Wrap group descriptor reads in a dedicated function.

We have a clean call for validating group descriptors, but every place
that wants the always does a read_block()+validate() call pair. Create
a toplevel ocfs2_read_group_descriptor() that does the right
thing. This allows us to leverage the single call point later for
fancier handling. We also add validation of gd->bg_generation against
the superblock and gd->bg_blkno against the block we thought we read.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>