OSDN Git Service

ext4_utils: Fix long symbolic links
authorJohan Rudholm <johan.rudholm@stericsson.com>
Mon, 6 Feb 2012 14:17:04 +0000 (15:17 +0100)
committerChristian Bejram <christian.bejram@stericsson.com>
Sun, 25 Mar 2012 19:05:38 +0000 (21:05 +0200)
commit82c18e022db437b22c0d76cca420bfe558bf2ebb
tree3bf1ef98cb8c207a12b5c7d8162dc98229e9125f
parent412d55c7ee5ce42dc52e0c03c3e0d1c5c2d9d870
ext4_utils: Fix long symbolic links

When the target of a symbolic link is over 60 characters, make_ext4fs
fails to create the link.

Instead of allocating n bytes, n blocks of 4096 bytes was reserved,
and the allocated data was never attached to the inode.

Change-Id: I63a2e76166a2afc30734265324d5c5265cfa59ff
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
ext4_utils/indirect.c