|
@@ -1996,7 +1996,6 @@ static const char *path_init(struct nameidata *nd, unsigned flags)
|
|
nd->last_type = LAST_ROOT; /* if there are only slashes... */
|
|
nd->last_type = LAST_ROOT; /* if there are only slashes... */
|
|
nd->flags = flags | LOOKUP_JUMPED | LOOKUP_PARENT;
|
|
nd->flags = flags | LOOKUP_JUMPED | LOOKUP_PARENT;
|
|
nd->depth = 0;
|
|
nd->depth = 0;
|
|
- nd->total_link_count = 0;
|
|
|
|
if (flags & LOOKUP_ROOT) {
|
|
if (flags & LOOKUP_ROOT) {
|
|
struct dentry *root = nd->root.dentry;
|
|
struct dentry *root = nd->root.dentry;
|
|
struct inode *inode = root->d_inode;
|
|
struct inode *inode = root->d_inode;
|