LINUX: Dir follow_link should set LAST_BIND
[openafs.git] / src / afs / LINUX / osi_vnodeops.c
index f089f14..de1a703 100644 (file)
@@ -2763,6 +2763,8 @@ afs_linux_dir_follow_link(struct dentry *dentry, struct nameidata *nd)
        *dpp = dget(dentry);
     }
 
+    nd->last_type = LAST_BIND;
+
     return NULL;
 }
 #endif /* !STRUCT_DENTRY_OPERATIONS_HAS_D_AUTOMOUNT */