]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5911c25eb0c914e185868d8ad24b789d1a8b99af
tree56edd78dca4d3cbed1e7debc00618c1ded531c0e
parent7f3f90c9f0aa802d03cebdaee2d26d8dada21742
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