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:45:23 +0000 |
commit | b489b945bd7718092185ccbcc32de4abcead8132 (patch) | |
tree | 0a5ef2b9a8f94c569adeead07f908641a5554345 /meta/recipes-devtools/docbook-sgml-dtd | |
parent | 90749060f02c930764dc4c7ebc4c1421334663bf (diff) | |
download | poky-b489b945bd7718092185ccbcc32de4abcead8132.tar.gz |
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]
(From OE-Core rev: 174ec622bdc00fc26392704fdadeac2c067a33f6)
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/docbook-sgml-dtd')
0 files changed, 0 insertions, 0 deletions