diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-03-07 01:59:30 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-07 14:44:26 +0000 |
commit | 174ec622bdc00fc26392704fdadeac2c067a33f6 (patch) | |
tree | 92d1045a5854c0d060d3aadd220a157fbde96c4e /meta/recipes-devtools/ubootchart | |
parent | 83357ef1f6797e48de4870ccd552951b0efb3b53 (diff) | |
download | openembedded-core-174ec622bdc00fc26392704fdadeac2c067a33f6.tar.gz openembedded-core-174ec622bdc00fc26392704fdadeac2c067a33f6.tar.bz2 openembedded-core-174ec622bdc00fc26392704fdadeac2c067a33f6.zip |
e2fsprogs: mke2fs: handle hardlinks
Create the inode and save the native inode number when we meet the hard
link (st_nlink > 1) at the first time, use ext2fs_link() to link the
name to the target inode number when we meet the same native inode
number again.
This algorithm is referred from the genext2fs.
[YOCTO #4083]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ubootchart')
0 files changed, 0 insertions, 0 deletions