diff options
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/acl.c | 2 | ||||
-rw-r--r-- | fs/9p/xattr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/acl.c b/fs/9p/acl.c index 6e58c4ca1e6e..c9da2640f6f1 100644 --- a/fs/9p/acl.c +++ b/fs/9p/acl.c | |||
@@ -28,7 +28,7 @@ static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, char *name) | |||
28 | { | 28 | { |
29 | ssize_t size; | 29 | ssize_t size; |
30 | void *value = NULL; | 30 | void *value = NULL; |
31 | struct posix_acl *acl = NULL;; | 31 | struct posix_acl *acl = NULL; |
32 | 32 | ||
33 | size = v9fs_fid_xattr_get(fid, name, NULL, 0); | 33 | size = v9fs_fid_xattr_get(fid, name, NULL, 0); |
34 | if (size > 0) { | 34 | if (size > 0) { |
diff --git a/fs/9p/xattr.c b/fs/9p/xattr.c index 43ec7df84336..d288773871b3 100644 --- a/fs/9p/xattr.c +++ b/fs/9p/xattr.c | |||
@@ -133,7 +133,7 @@ int v9fs_xattr_set(struct dentry *dentry, const char *name, | |||
133 | "p9_client_xattrcreate failed %d\n", retval); | 133 | "p9_client_xattrcreate failed %d\n", retval); |
134 | goto error; | 134 | goto error; |
135 | } | 135 | } |
136 | msize = fid->clnt->msize;; | 136 | msize = fid->clnt->msize; |
137 | while (value_len) { | 137 | while (value_len) { |
138 | if (value_len > (msize - P9_IOHDRSZ)) | 138 | if (value_len > (msize - P9_IOHDRSZ)) |
139 | write_count = msize - P9_IOHDRSZ; | 139 | write_count = msize - P9_IOHDRSZ; |