diff options
| author | Tony Luck <tony.luck@intel.com> | 2005-08-16 14:29:57 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2005-08-16 14:29:57 -0400 |
| commit | f7001e8f1fa5369ee24f58255726a04a2019e4bd (patch) | |
| tree | 1bbdd233ad0cf2e0adb4eb04f22b7bfa59a43494 /fs/nfs_common/nfsacl.c | |
| parent | 85f265d887d2389376f1caa191e9682085feb76e (diff) | |
| parent | cf59001235c5a36f3e3701bd593a78cf955a4242 (diff) | |
Auto-update from upstream
Diffstat (limited to 'fs/nfs_common/nfsacl.c')
| -rw-r--r-- | fs/nfs_common/nfsacl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs_common/nfsacl.c b/fs/nfs_common/nfsacl.c index 18c58c32e326..251e5a1bb1c4 100644 --- a/fs/nfs_common/nfsacl.c +++ b/fs/nfs_common/nfsacl.c | |||
| @@ -239,6 +239,7 @@ nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt, | |||
| 239 | if (xdr_decode_word(buf, base, &entries) || | 239 | if (xdr_decode_word(buf, base, &entries) || |
| 240 | entries > NFS_ACL_MAX_ENTRIES) | 240 | entries > NFS_ACL_MAX_ENTRIES) |
| 241 | return -EINVAL; | 241 | return -EINVAL; |
| 242 | nfsacl_desc.desc.array_maxlen = entries; | ||
| 242 | err = xdr_decode_array2(buf, base + 4, &nfsacl_desc.desc); | 243 | err = xdr_decode_array2(buf, base + 4, &nfsacl_desc.desc); |
| 243 | if (err) | 244 | if (err) |
| 244 | return err; | 245 | return err; |
