Commit 57851607 authored by Al Viro's avatar Al Viro
Browse files

get rid of DCACHE_GENOCIDE



... now that we never call d_genocide() other than from kill_litter_super()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8a54b38f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -3198,11 +3198,8 @@ static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry)
		if (d_unhashed(dentry) || !dentry->d_inode)
			return D_WALK_SKIP;

		if (!(dentry->d_flags & DCACHE_GENOCIDE)) {
			dentry->d_flags |= DCACHE_GENOCIDE;
		dentry->d_lockref.count--;
	}
	}
	return D_WALK_CONTINUE;
}

+0 −1
Original line number Diff line number Diff line
@@ -173,7 +173,6 @@ struct dentry_operations {
#define DCACHE_DONTCACHE		BIT(7) /* Purge from memory on final dput() */

#define DCACHE_CANT_MOUNT		BIT(8)
#define DCACHE_GENOCIDE			BIT(9)
#define DCACHE_SHRINK_LIST		BIT(10)

#define DCACHE_OP_WEAK_REVALIDATE	BIT(11)