summaryrefslogtreecommitdiffstats
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-09-02 23:21:09 +0800
committerIlya Dryomov <idryomov@gmail.com>2018-10-22 10:28:20 +0200
commit5da207993e396f445d813338dd3540ddd6d26816 (patch)
treeb2ce4341e636b29e7b76e979f432a550446369f2 /fs/ceph/inode.c
parent7d8dc53414c5770afb8b83db096ecab0cd53ec93 (diff)
downloadlinux-5da207993e396f445d813338dd3540ddd6d26816.tar.bz2
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 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions