Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32979
b: refs/heads/master
c: 4c90c68
h: refs/heads/master
i:
  32977: 948f74f
  32975: 5672a0e
v: v3
  • Loading branch information
Russ Ross authored and Linus Torvalds committed Jul 31, 2006
1 parent 1417ea0 commit df58756
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 0e31f51d8177320d61ec5786ca4aafa7b7a749b4
refs/heads/master: 4c90c68aca278f425afc0b48d86298b960fbc0ce
6 changes: 4 additions & 2 deletions trunk/fs/9p/conv.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,10 @@ struct v9fs_fcall *v9fs_create_tcreate(u32 fid, char *name, u32 perm, u8 mode,
struct cbuf *bufp = &buffer;

size = 4 + 2 + strlen(name) + 4 + 1; /* fid[4] name[s] perm[4] mode[1] */
if (extended && extension!=NULL)
size += 2 + strlen(extension); /* extension[s] */
if (extended) {
size += 2 + /* extension[s] */
(extension == NULL ? 0 : strlen(extension));
}

fc = v9fs_create_common(bufp, size, TCREATE);
if (IS_ERR(fc))
Expand Down

0 comments on commit df58756

Please sign in to comment.