From: john.johansen on
Second iteration of the __d_path patch
* formating problem - while(dentry
* the assignment where comparison should be used

Tests to exercise the behavior and test for regressions follows



#simple script to test behavior of lazily unmounted bind mount

DIR1=`mktemp -d /tmp/foo.XXXXXXXXXX`
DIR2=`mktemp -d /tmp/test.XXXXXXXXXX`
mkdir "$DIR2/bar"
mount --bind "$DIR2" "$DIR1"
cd "$DIR1/bar"
echo "Before umount -l"
umount -l "$DIR1"
echo "After umount -l"
echo "After cd .."
cd ..

rm -rf "$DIR1" "$DIR2"

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at