Commit 8ac24680 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] fs_autofs4_root.c unused variable

From:  Rusty Russell <rusty@rustcorp.com.au>

  Trivial unused var...
parent 187b20db
......@@ -147,7 +147,6 @@ static int autofs4_root_revalidate(struct dentry * dentry, int flags)
{
struct inode * dir = dentry->d_parent->d_inode;
struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb);
struct autofs_info *ino;
int oz_mode = autofs4_oz_mode(sbi);
/* Pending dentry */
......@@ -162,8 +161,6 @@ static int autofs4_root_revalidate(struct dentry * dentry, int flags)
if (dentry->d_inode == NULL)
return (dentry->d_time - jiffies <= AUTOFS_NEGATIVE_TIMEOUT);
ino = autofs4_dentry_ino(dentry);
/* Check for a non-mountpoint directory with no contents */
spin_lock(&dcache_lock);
if (S_ISDIR(dentry->d_inode->i_mode) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment