commit | c7263bcdc4d150e3c718b711a5f6fad496d9f662 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 17 14:53:54 2013 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 17 14:53:54 2013 +0200 |
tree | 394cafc4d68f3f6664f4192bcc2fbe1aa01c4940 | |
parent | fa2b7213600f8110ebac64acebc78a885b0594a0 [diff] [blame] |
fuse: readdirplus: cleanup Niels noted that we don't need the 'dentry = NULL' line. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> CC: Niels de Vos <ndevos@redhat.com>
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 37d85e0..72a5d5b 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c
@@ -1263,7 +1263,6 @@ goto found; } dput(dentry); - dentry = NULL; } dentry = d_alloc(parent, &name); @@ -1299,8 +1298,7 @@ err = 0; out: - if (dentry) - dput(dentry); + dput(dentry); return err; }