-
Andrew Morton authored
From: Maneesh Soni <maneesh@in.ibm.com> The patch fixes locking in proc_check_root(). It brings is_subdir() call under vfsmount_lock. Holding vfsmount_lock will ensure mnt_mountpoint dentry is intact and the dentry does not go away while it is being checked in is_subdir().
541f40bd