Revert "Avoid ELOOP on auto-mounted snapshots"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Jan 2013 19:09:06 +0000 (11:09 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Jan 2013 19:24:47 +0000 (11:24 -0800)
commit1c50c992bafd96773dc3950d382a89806df8cc9c
tree5518a79fb09e80e3cd27477c174328a008da7266
parent4cec9b2dc79c8132ef9093921a0c14529cde775f
Revert "Avoid ELOOP on auto-mounted snapshots"

This reverts commit 7afcf5b1da83549bfba70a61fae7a00eaa63c2b0 which
accidentally introduced a regression with the .zfs snapshot directory.
While the updated code still does correctly mount the requested
snapshot.  It updates the vfsmount such that it references the
original dataset vfsmount.  The result is that the snapshot itself
isn't visible.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #816
module/zfs/zpl_ctldir.c