Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3331559imu; Sun, 11 Nov 2018 12:32:48 -0800 (PST) X-Google-Smtp-Source: AJdET5c+wqyQgHN5zSErv8Ny03ml5e+8KDBPjmxqUOfbxg8HPdpaWy/YebAXZ9mqSS9lbHPbj5LM X-Received: by 2002:a62:fc95:: with SMTP id e143-v6mr17108956pfh.132.1541968367996; Sun, 11 Nov 2018 12:32:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968367; cv=none; d=google.com; s=arc-20160816; b=KcAilx8zUfL2qx9JUx5Nkkreh7UKY1aAK7jGaVnvfkIqfzbnN1VOxxqJI2u7Qinddo CxiAC1GxiFmQCVQEu1ITCetE+asjXLUu32KChb3Y7oW8rSZ5X5bz1O6RcRUwkS3jLz7D CUvOizmG/K3OIWQwQJyQ3tRcvc5vKqzEtbqV0totXP+ds+PjT3VgfTLk88h0C07tKb/y vY1PE3ySVCqCHQdTZcqfG16Ce4MV8wXMHEfyFj9JrTxBmNZdQsCkU+uS7QHVhMLtJ1NW NJcpiCUrDVUpXzCx7PVLAse8ta9RV8i8vrXN7TtKF1p99PK+Kw8N3uizSE07+jUne6Et U1Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=rnLjBcymfCqgFbkVG/0pLSlX8FmMFz/Dal0ifLs66Q4=; b=FUV/DKvw03stt4l/qWdvJi5c/JFMSrMjCI+S0Angl1pcA44LhpjWtYZW8DqVu51ohZ GxhxKu9U9f92NckVKyrU46OokYeM9ULj2jTzDjyXcBD79bvQNq+SkeswOflJRZSsE4kB KRtfk7vAOAGnmtFnEy6iTr9DtMAhHSg3jwkysfpjNkqDz9Io+xlpHbogpY3zgzRSYjFA 77IMqPpZwqfdsXQMnoolQCWt42FrdcmLIccXfXDn8+ENvvhl9458XYX4fDlkUMpY2cTx 5vfxPXRcZ8I0/SKTUWZXH5KKRmEZhBsjVNOWSkVE8coZIJGDX6mBmp86kavUT0KU5hEI ArBQ== 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 x5-v6si16766920pfx.74.2018.11.11.12.32.32; Sun, 11 Nov 2018 12:32:47 -0800 (PST) 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 S1730357AbeKLFsR (ORCPT + 99 others); Mon, 12 Nov 2018 00:48:17 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50194 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730223AbeKLFsQ (ORCPT ); Mon, 12 Nov 2018 00:48:16 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsc-0000l8-A6; Sun, 11 Nov 2018 19:58:46 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsZ-0001qA-Ka; Sun, 11 Nov 2018 19:58:43 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Yan, Zheng" , "Bryan Henderson" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 324/366] ceph: fix llistxattr on symlink In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: "Yan, Zheng" commit 0abb43dcacb52145aa265f82c914375d59dfe2da upstream. only regular file and directory have vxattrs. Signed-off-by: Yan, Zheng Cc: Bryan Henderson Signed-off-by: Ben Hutchings --- fs/ceph/xattr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -284,8 +284,7 @@ static size_t ceph_vxattrs_name_size(str return ceph_dir_vxattrs_name_size; if (vxattrs == ceph_file_vxattrs) return ceph_file_vxattrs_name_size; - BUG(); - + BUG_ON(vxattrs); return 0; }