]> git.neil.brown.name Git - history.git/commit
[PATCH] namei.c: take vfsmount_lock
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:47:27 +0000 (18:47 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:47:27 +0000 (18:47 -0800)
commit5f833af7db29597d949121a05d6d00e9f8827102
treebab6f693d133773f49f2da180247d26755e0612d
parent122eace8aed0d3801341ed00e381bd5cfbaced82
[PATCH] namei.c: take vfsmount_lock

From: Mike Waychison <Michael.Waychison@Sun.COM>

The attached patch ensures that we grab vfsmount_lock when grabbing a
reference to mnt_parent in follow_up and follow_dotdot.

We also don't need to access ->mnt_parent in follow_mount and
__follow_down to mntput because we already the parent pointer on the stack.
fs/namei.c