aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/9p.c')
-rw-r--r--fs/9p/9p.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/9p/9p.c b/fs/9p/9p.c
index ea2cf9692ff4..81027bc1f099 100644
--- a/fs/9p/9p.c
+++ b/fs/9p/9p.c
@@ -334,8 +334,8 @@ v9fs_t_remove(struct v9fs_session_info *v9ses, u32 fid,
334 */ 334 */
335 335
336int 336int
337v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name, 337v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name, u32 perm,
338 u32 perm, u8 mode, struct v9fs_fcall **rcp) 338 u8 mode, char *extension, struct v9fs_fcall **rcp)
339{ 339{
340 int ret; 340 int ret;
341 struct v9fs_fcall *tc; 341 struct v9fs_fcall *tc;
@@ -343,7 +343,9 @@ v9fs_t_create(struct v9fs_session_info *v9ses, u32 fid, char *name,
343 dprintk(DEBUG_9P, "fid %d name '%s' perm %x mode %d\n", 343 dprintk(DEBUG_9P, "fid %d name '%s' perm %x mode %d\n",
344 fid, name, perm, mode); 344 fid, name, perm, mode);
345 345
346 tc = v9fs_create_tcreate(fid, name, perm, mode); 346 tc = v9fs_create_tcreate(fid, name, perm, mode, extension,
347 v9ses->extended);
348
347 if (!IS_ERR(tc)) { 349 if (!IS_ERR(tc)) {
348 ret = v9fs_mux_rpc(v9ses->mux, tc, rcp); 350 ret = v9fs_mux_rpc(v9ses->mux, tc, rcp);
349 kfree(tc); 351 kfree(tc);