commit | 20e0fa98b751facf9a1101edaefbc19c82616a68 | [log] [tgz] |
---|---|---|
author | Sachin Prabhu <sprabhu@redhat.com> | Thu Mar 22 16:46:28 2012 +0000 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Mar 24 14:33:26 2012 -0400 |
tree | b3a902d953bb60b36886d66d626a68800b020b0a | |
parent | 250f6715a4112d6686670c5a62ceb9305da94616 [diff] |
Fix length of buffer copied in __nfs4_get_acl_uncached _copy_from_pages() used to copy data from the temporary buffer to the user passed buffer is passed the wrong size parameter when copying data. res.acl_len contains both the bitmap and acl lenghts while acl_len contains the acl length after adjusting for the bitmap size. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>