diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-09-02 23:21:09 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-10-22 10:28:20 +0200 |
commit | 5da207993e396f445d813338dd3540ddd6d26816 (patch) | |
tree | b2ce4341e636b29e7b76e979f432a550446369f2 /tools | |
parent | 7d8dc53414c5770afb8b83db096ecab0cd53ec93 (diff) | |
download | linux-5da207993e396f445d813338dd3540ddd6d26816.tar.gz linux-5da207993e396f445d813338dd3540ddd6d26816.tar.bz2 linux-5da207993e396f445d813338dd3540ddd6d26816.zip |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions