commit | 5da207993e396f445d813338dd3540ddd6d26816 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Sun Sep 02 23:21:09 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Oct 22 10:28:20 2018 +0200 |
tree | b2ce4341e636b29e7b76e979f432a550446369f2 | |
parent | 7d8dc53414c5770afb8b83db096ecab0cd53ec93 [diff] |
ceph: check snap first in ceph_set_acl() Do the snap check first in ceph_set_acl(), so we can avoid unnecessary operations when the inode has snap. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>