Btrfs: skip adding an acl attribute if we don't have to
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 28 Nov 2012 10:43:11 +0000 (10:43 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:15 +0000 (20:46 -0500)
commit755ac67f83e515af55adbfe55134eb7d90839cdb
tree56edd78dca4d3cbed1e7debc00618c1ded531c0e
parent0ff6fabdb0a862b22df4dd75873578392478e64d
Btrfs: skip adding an acl attribute if we don't have to

If the acl can be exactly represented in the traditional file
mode permission bits, we don't set another acl attribute.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/acl.c