Commit d344b0fb authored by Committed by Eric Van HensbergenBrowse files
[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 <email@example.com> Signed-off-by: Eric Van Hensbergen <firstname.lastname@example.org> Reviewed-by: Aneesh Kumar K.V <email@example.com>
Showing with 6 additions and 4 deletions