Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352975
b: refs/heads/master
c: 96aa154
h: refs/heads/master
i:
  352973: 42c3f58
  352971: bc73775
  352967: e8a000d
  352959: 1a4448f
v: v3
  • Loading branch information
Tim Gardner authored and Trond Myklebust committed Feb 17, 2013
1 parent 37811b4 commit a27f57c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 085b7a45c63d3da5be155faab9249a5cab224561
refs/heads/master: 96aa1549afa6c79ae4a4f099de861efd218c38d8
3 changes: 1 addition & 2 deletions trunk/fs/nfs/getroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh,
}
spin_unlock(&ret->d_lock);
out:
if (name)
kfree(name);
kfree(name);
nfs_free_fattr(fsinfo.fattr);
return ret;
}
3 changes: 1 addition & 2 deletions trunk/fs/nfs/unlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@ nfs_async_unlink(struct inode *dir, struct dentry *dentry)
* point dentry is definitely not a root, so we won't need
* that anymore.
*/
if (devname_garbage)
kfree(devname_garbage);
kfree(devname_garbage);
return 0;
out_unlock:
spin_unlock(&dentry->d_lock);
Expand Down

0 comments on commit a27f57c

Please sign in to comment.