Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229205
b: refs/heads/master
c: 878215f
h: refs/heads/master
i:
  229203: 2a58486
v: v3
  • Loading branch information
Jesper Juhl authored and Trond Myklebust committed Jan 4, 2011
1 parent c1e24a0 commit 0a4b818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 1174dd1f890b7f8be8ec6a7071657fe8f59e18b7
refs/heads/master: 878215feb8b2417c4700090b4335739858cf7b5a
3 changes: 2 additions & 1 deletion trunk/fs/nfs/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page,
fattr = nfs_alloc_fattr();
status = -ENOMEM;
if (fh == NULL || fattr == NULL)
goto out;
goto out_free;

status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0);
nfs_mark_for_revalidate(dir);
Expand All @@ -471,6 +471,7 @@ nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page,
if (status == 0)
status = nfs_instantiate(dentry, fh, fattr);

out_free:
nfs_free_fattr(fattr);
nfs_free_fhandle(fh);
out:
Expand Down

0 comments on commit 0a4b818

Please sign in to comment.