diff options
author | Brian Behlendorf <[email protected]> | 2013-01-09 11:09:06 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-09 11:24:47 -0800 |
commit | 1c50c992bafd96773dc3950d382a89806df8cc9c (patch) | |
tree | 5518a79fb09e80e3cd27477c174328a008da7266 /module/zfs/zpl_ctldir.c | |
parent | 4cec9b2dc79c8132ef9093921a0c14529cde775f (diff) |
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 <[email protected]>
Issue #816
Diffstat (limited to 'module/zfs/zpl_ctldir.c')
-rw-r--r-- | module/zfs/zpl_ctldir.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/module/zfs/zpl_ctldir.c b/module/zfs/zpl_ctldir.c index a2d8fa9fe..7dfaf6ebc 100644 --- a/module/zfs/zpl_ctldir.c +++ b/module/zfs/zpl_ctldir.c @@ -357,13 +357,6 @@ zpl_snapdir_automount(struct path *path) return ERR_PTR(error); /* - * Ensure path->dentry points to the dentry for the root of the - * newly-mounted snapshot, otherwise this function may be called - * repeatedly which can lead to an incorrect ELOOP error return. - */ - follow_up(path); - - /* * Rather than returning the new vfsmount for the snapshot we must * return NULL to indicate a mount collision. This is done because * the user space mount calls do_add_mount() which adds the vfsmount |