Whamcloud - gitweb
libext2fs: make symlinks safe for 64bit blocks and extents
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Dec 2013 17:48:33 +0000 (12:48 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 12 Dec 2013 17:48:39 +0000 (12:48 -0500)
commit62f17f36031102a2a40fac338e063c556f73b94a
tree419f94f3779ec41c73acf8f9c46a9d6c89cfd59d
parent50295a3f9e40894316301bebcc7247e9ec85f506
libext2fs: make symlinks safe for 64bit blocks and extents

If we have to create a big symlink (i.e. one that doesn't fit into
i_block[]), we are not 64bit block safe and the namei code does not
handle extents at all.  Fix both.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/namei.c
lib/ext2fs/symlink.c