Files
linux-apfs/fs/ocfs2
Joel Becker 68f64d471b 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>
2009-01-05 08:36:53 -08:00
..
2008-10-31 00:56:28 -07:00
2008-12-04 17:16:36 +11:00
2009-01-05 08:34:20 -08:00
2009-01-05 08:34:20 -08:00
2007-10-16 09:42:58 -07:00
2008-01-25 14:45:34 -08:00
2008-10-13 17:02:43 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2009-01-05 08:34:20 -08:00
2008-02-03 17:33:42 +02:00
2008-12-16 18:26:16 -08:00
2008-10-13 17:02:43 -07:00
2008-10-13 17:02:44 -07:00
2008-10-13 13:57:57 -07:00
2008-01-25 15:05:46 -08:00
2009-01-05 08:34:20 -08:00
2009-01-05 08:34:20 -08:00