diff options
author | Erez Zadok <ezk@fsl.cs.sunysb.edu> | 2011-05-21 01:19:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-21 00:12:16 -0700 |
commit | 1a4022f88d40e1255920b017556092ab926d7f66 (patch) | |
tree | f4e54841dae0ecf1324a3002bc540f8b6ba441d5 /include/asm-generic/parport.h | |
parent | 052497553e5dedc04c43800820c1d5788201cc71 (diff) |
VFS: move BUG_ON test for symlink nd->depth after current->link_count test
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>
Diffstat (limited to 'include/asm-generic/parport.h')
0 files changed, 0 insertions, 0 deletions