diff --git a/[refs] b/[refs] index db4fd44f7437..41cd5ec4ba58 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 86bc704db0ab7e69230f79bc7d124e063259abc6 +refs/heads/master: 35f40ef00204c456f5c181c0e7f54e25bb93cd49 diff --git a/trunk/fs/dcache.c b/trunk/fs/dcache.c index b05aac3a8cfc..75590572ff7a 100644 --- a/trunk/fs/dcache.c +++ b/trunk/fs/dcache.c @@ -828,7 +828,6 @@ EXPORT_SYMBOL(shrink_dcache_sb); static void shrink_dcache_for_umount_subtree(struct dentry *dentry) { struct dentry *parent; - unsigned detached = 0; BUG_ON(!IS_ROOT(dentry)); @@ -892,8 +891,6 @@ static void shrink_dcache_for_umount_subtree(struct dentry *dentry) spin_unlock(&parent->d_lock); } - detached++; - inode = dentry->d_inode; if (inode) { dentry->d_inode = NULL;