diff options
author | Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com> | 2011-01-14 01:33:00 +0100 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-03-15 15:57:33 +0100 |
commit | d344b0fb72e00339625464c5a29711906fa70b8b (patch) | |
tree | a21de11ffefb46ae20be1d2f829547a6a4319b53 /net | |
parent | [fs/9p] Plug potential acl leak (diff) | |
download | linux-d344b0fb72e00339625464c5a29711906fa70b8b.tar.xz linux-d344b0fb72e00339625464c5a29711906fa70b8b.zip |
[fs/9p] Initialze cached acls both in cached/uncached mode.
With create/mkdir/mknod in non cached mode we initialize the inode using
v9fs_get_inode. v9fs_get_inode doesn't initialize the cache inode value
to NULL. This is causing to trip on BUG_ON in v9fs_get_cached_acl.
Fix is to initialize acls to NULL and not to leave them in ACL_NOT_CACHED
state.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions