]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix remount races with symlink handling in affs
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jan 2010 05:04:07 +0000 (00:04 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Feb 2010 12:50:48 +0000 (04:50 -0800)
commitd842c31e636e5dbc85c3c75d1b964a6ff6e4daeb
tree4494d76ed1e2174854949f2ce4f47306f9be8b8f
parent36a0a4afb2e996f59651a845e5680d2f80cc6f23
Fix remount races with symlink handling in affs

commit 29333920a5a46edcc9b728e2cf0134d5a9b516ee upstream.

A couple of fields in affs_sb_info is used in follow_link() and
symlink() for handling AFFS "absolute" symlinks.  Need locking
against affs_remount() updates.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/affs/affs.h
fs/affs/namei.c
fs/affs/super.c
fs/affs/symlink.c