git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0524975
)
VFS: move BUG_ON test for symlink nd->depth after current->link_count test
author
Erez Zadok
<ezk@fsl.cs.sunysb.edu>
Sat, 21 May 2011 05:19:59 +0000
(
01:19
-0400)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 21 May 2011 07:12:16 +0000
(
00:12
-0700)
This solves a serious VFS-level bug in nested_symlink (which was
rewritten from do_follow_link), and follows the order of depth tests
that existed before.
The bug triggers a BUG_ON in fs/namei.c:1381, when running racer with
symlink and rename ops.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Acked-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c
patch
|
blob
|
history
diff --cc
fs/namei.c
Simple merge