Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp21918ybl; Fri, 9 Aug 2019 01:47:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXzk5JpEVx7cFOIAp4IGOnPEmJVddxLsRtfBKJdzxC2GttuJBBOBXqA8FlfhlMekExgmHr X-Received: by 2002:a17:90a:19c2:: with SMTP id 2mr8036965pjj.13.1565340421990; Fri, 09 Aug 2019 01:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565340421; cv=none; d=google.com; s=arc-20160816; b=UfoRJPcvULapo4x6v2dvBwp/t/QKWb0JAPh4XGJb1aBuj26mL2zFq1aqGk4zoP+zTs GHB2BY09WW8V+VxqvC3yf///JyzXMGv8v8JF2JkbJt0//8p/xrnaYyuHVKGttYWWnk7Y DTsHvnItzcEmtD2f7eQPv1l6UDT6kGpQwpbaZtLCxJd+9ua+ddYx6661Y/1ugHMnw1KW ov9uCscK3zf/RPXw3C41DzpBVkSubOIEwUsGzE9/54enEix7Rg4AI2nhz8ZGJGdgzG5o 6nHvA1UJqCWlzJxolO/QHxGl0fMaIzx+oZGohcfxsWLsZUQdUyRpD1R0QlNOMOxvVsYc NUcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=war04m3/IRScBcKr1x81tIDT0zM0VI9X/qmsBH92obU=; b=oy70bdk0keEkSqUhytM4W0H8Y+Z6tyFDVbavV1cwP7p2xmvsmsfD1nCUVo3L8rNIzP hGfSbfH4+J4Qv2VyqDRlph7fMbgWbtWhaee9PdFh7rNvuuaxj1chOplFMuvEPiojIx+d 4EXxS6ASTfZsPbQ26EkYiHpTnC7/G6CfECS38jXfeGedlFSFG9FdisJVdBWGlecW2UD0 SAIF2j6kkvnDiARwhPkZ1sY1XpSo5vW+gSPJ4YVZW/vLs2dn3m+vyfns1WkF+iKkIZYb NcTUl8OLLV4YvY3/S4cYJoNLaNkcAe4VJmD9uZ9pdK17UvKnF6TIUF5/Jpru0oxtQySe 0EHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si17976283pfn.278.2019.08.09.01.46.45; Fri, 09 Aug 2019 01:47:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405947AbfHIIpw (ORCPT + 99 others); Fri, 9 Aug 2019 04:45:52 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:34562 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726233AbfHIIpw (ORCPT ); Fri, 9 Aug 2019 04:45:52 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 99DA8DB8D5F1A4BCE188; Fri, 9 Aug 2019 16:45:50 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Fri, 9 Aug 2019 16:45:44 +0800 From: YueHaibing To: CC: , , YueHaibing Subject: [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2 Date: Fri, 9 Aug 2019 16:43:23 +0800 Message-ID: <20190809084323.46204-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It seems that 'yfs_RXYFSStoreOpaqueACL2' should be use in yfs_fs_store_opaque_acl2(). Fixes: f5e4546347bc ("afs: Implement YFS ACL setting") Signed-off-by: YueHaibing --- fs/afs/yfsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c index 2575503..ca24528 100644 --- a/fs/afs/yfsclient.c +++ b/fs/afs/yfsclient.c @@ -2171,7 +2171,7 @@ int yfs_fs_store_opaque_acl2(struct afs_fs_cursor *fc, const struct afs_acl *acl key_serial(fc->key), vnode->fid.vid, vnode->fid.vnode); size = round_up(acl->size, 4); - call = afs_alloc_flat_call(net, &yfs_RXYFSStoreStatus, + call = afs_alloc_flat_call(net, &yfs_RXYFSStoreOpaqueACL2, sizeof(__be32) * 2 + sizeof(struct yfs_xdr_YFSFid) + sizeof(__be32) + size, -- 2.7.4