commit | 9c9e1d5fe507d08309e9815eee50ca73e21bd2bd | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Nov 29 00:08:54 2009 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Nov 29 01:03:04 2009 -0500 |
tree | a296b81b4ff217230d582173f80e5efcc3a627fd | |
parent | 4607ef7d53304c00f6259ab671e597d5493b9786 [diff] |
libext2fs: Fix SET_BMAP bugs in ext2fs_bmap() and ext2fs_bmap2() Don't byte-swap the block number when setting i_block[x], since the write_inode function will take of byte swapping the inode. The phys_blk parameter contains an input parameter in the SET_BMAP case, so it must be passed to ext2fs_bmap2() from the legacy function ext2fs_bmap(). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>