]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ubifs: Correct dereferencing of files-after-symlinks
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Fri, 25 Sep 2009 12:05:57 +0000 (14:05 +0200)
committerStefan Roese <sr@denx.de>
Mon, 28 Sep 2009 14:58:31 +0000 (16:58 +0200)
commitef37c6835eac66206a9c7c11f0c7186f5d64bf91
tree1fefce778c6ee199a700974d3313bfa769e23845
parent984f10baac8ef6032df52f135943d6b0bc96f724
ubifs: Correct dereferencing of files-after-symlinks

Files in directories which are symlinked to were not dereferenced
correctly in last commit. E.g., with a symlink

   /boot/lnk -> /boot/real_dir

loading

   /boot/lnk/uImage

will fail. This patch fixes that by simply seeing to it that the target
base directory has a slash after it.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Stefan Roese <sr@denx.de>
fs/ubifs/ubifs.c