]> err.no Git - linux-2.6/commit
uml: fix symlink loops
authorJeff Dike <jdike@addtoit.com>
Thu, 15 Nov 2007 00:58:42 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:37 +0000 (18:45 -0800)
commitfcbaa088fc8625381bd1096bc2eedc4f58a1572c
treee17d76e66596797084e94a8233e2571fe5f12b65
parent5a6dca7c15623626943786977aca738520ea5ba3
uml: fix symlink loops

symlinks to directories in the non-O= case were lacking -n, which meant
that, when the link already existed, a new link pointing at itself was
created in the target directory.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/Makefile