Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9355cf8 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6:
  jfs: Fix early release of acl in jfs_get_acl
parents 9ae26027 4a19fb11
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -67,10 +67,8 @@ static struct posix_acl *jfs_get_acl(struct inode *inode, int type)
		acl = posix_acl_from_xattr(value, size);
	}
	kfree(value);
	if (!IS_ERR(acl)) {
	if (!IS_ERR(acl))
		set_cached_acl(inode, type, acl);
		posix_acl_release(acl);
	}
	return acl;
}