Whamcloud - gitweb
libext2fs: define new dirent_swab interfaces for inline data
authorZheng Liu <wenqing.lz@taobao.com>
Mon, 3 Mar 2014 05:24:30 +0000 (00:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Mar 2014 05:24:33 +0000 (00:24 -0500)
commit11f9374660acd119c832c01aa6ed65bc449e43b8
treed6dd01089d7b6bdaba78fdbc36a35854f43fbdf0
parent5beff1c0cfaf59a80bbd86a4b1436b39133b2abf
libext2fs: define new dirent_swab interfaces for inline data

Later we will use ext2fs_dirent_swab_in/out to handle big-endian problem
for inline data.  Now interfaces assume that it handles a block, but it
is not true after adding inline data.  So this commit defines a new
interface for inline data.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/swapfs.c