libext2fs: add ext2fs_extent_open2
commit84b239aea4da04c7a569b428d3abf6c720e82645
authornumber9652 <number9652@yahoo.com>
Tue, 19 May 2009 20:34:12 +0000 (19 13:34 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 May 2009 20:33:38 +0000 (28 16:33 -0400)
tree2c141fc712896ddba7e4d45340fcf2e6237ff5c6
parent9facd076ae8af6e908e228392cea866ce0faf1bc
libext2fs: add ext2fs_extent_open2

The patch below adds a function, ext2fs_extent_open2(), that behaves
as ext2fs_extent_open(), but will use the user-supplied inode
structure when opening an extent instead of reading the inode from
disk.  It also changes several of the calls to extent_open() to use
this enhancement.

Signed-off-by: Nic Case <number9652@yahoo.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass1.c
lib/ext2fs/block.c
lib/ext2fs/bmap.c
lib/ext2fs/ext2fs.h
lib/ext2fs/extent.c