• Andrew Morton's avatar
    [PATCH] namei.c: take vfsmount_lock · 5f833af7
    Andrew Morton authored
    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.
    5f833af7
namei.c 55.9 KB