commit | 7d50a29fe43848b7d3c8309f8617db3305c0db18 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 03 11:12:12 2016 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 03 11:12:12 2016 -0400 |
tree | 640ab336e23b4aa1e168ab2d0ed51a720ec8fc6d | |
parent | 797fc16d8f00bf681b7f9969c0701725b472b11a [diff] [blame] |
9p: use clone_fid() in a bunch of places it cleans the things up Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index 2ed04c2..eeabcb0 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c
@@ -281,7 +281,7 @@ } /* clone a fid to use for creation */ - ofid = p9_client_walk(dfid, 0, NULL, 1); + ofid = clone_fid(dfid); if (IS_ERR(ofid)) { err = PTR_ERR(ofid); p9_debug(P9_DEBUG_VFS, "p9_client_walk failed %d\n", err);