Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1766006lqa; Mon, 29 Apr 2024 20:28:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtKNaxBOeI9MUa+ba+8VA2Tu+ew4F5yWKQflqReDq20smTKNW1+Xubl6X5Ff18lEcD/WXgGnZMLaTV6gE667PKyXI/LirPqMHMdwiq5w== X-Google-Smtp-Source: AGHT+IH9mQETpHTB9B97LQC/a/fT7s+ReklDDlcnJsXFn+3TKRVhqNwhUFB6ouWL5amd8rcl9uNE X-Received: by 2002:a05:6870:470c:b0:22a:9d72:2cf6 with SMTP id b12-20020a056870470c00b0022a9d722cf6mr1778196oaq.46.1714447713156; Mon, 29 Apr 2024 20:28:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714447713; cv=pass; d=google.com; s=arc-20160816; b=qcjlrSfZfEo1iDs1cCH3udCVfFY1o7zEy/G6WDwA3ZZm4Q+76+7iY7pUyzpXxDYqCi 8LVNTLRDqBsRSX3MDBh6NgvneubhyGl76VfSul2OIPEx7/wTnxrFF8MdIoGWHQSsgR+a j9O/daIUULZccWTefvmsp+Qs6wxmxUbBMCk0RJRF650YPpofr227C2mJnPjVk/wdCZBw nKoPx1SbYQjDA58WnJ91Tq8DH9eomU7hR9JEU9mI7JrwuBkOgQo1qj1kSzOPcgWemdah 89atBDCv+QHDuY45x+G2IYwDQdLpF1hoDsZ1fKebqOXCUO/rciWjigkysWaKmdjK/zYV hWYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=u4umKi23uEoIzCMao6IETndhg1LA1WkSNjlJJg1tq54=; fh=uRRo/bsVkkMz4T1a2t0y0xSNbzWg22XBPvnHoLuz/8k=; b=EBb63KojVyVV11FTeESoo3gybNwGZY7weix29JBUpUMPKAEEY8xaOWUAaiWVkBMmNy 6oeLyi6PyTzaD+xJLH3WotMGMr+8lojjkEo2YCrQejzWRbHR5Zy+YbRhPvE5yfXYY4qT kBhTpQ+w8lJ7KfyYnbp/M2yDxTK6iiU7C0JRNHhBUYYMgA5rwLuVUj1eleqDoBjmtI5Y IlrkmquknQCe25ZJLtPNApK36NiHY+CD4mxYQF5TS4IBE00nV0M0QqtnRbNg2UP266rX orjJ5iNxy0cy/wboWUapf69wC3KOILvfy8YKxzEB2XqUHye8PmXWQf+tyJYcIJo6k65S PfHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZHIXm3oW; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-163292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l12-20020a65448c000000b005f07c403b5dsi20660386pgq.281.2024.04.29.20.28.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 20:28:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZHIXm3oW; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-163292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C2A18283415 for ; Tue, 30 Apr 2024 03:28:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E55CF1094E; Tue, 30 Apr 2024 03:28:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ZHIXm3oW" Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07CC813FFC for ; Tue, 30 Apr 2024 03:28:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714447693; cv=none; b=ZRK8+cKDluDS3faxbPsuIrlY4aQC0yZNi+SmmG4P87U4hNTqsE248H5e0Tqb09b5QrxODGuCFiW2obDrxf93LL+sl3rgfuaqUozuisNxtX6/M8tVwzCZWw/CcZfTP+DuGI6vGmqKPXy4xzZSzHEseioly7/oAN9DA/wRz/OsFLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714447693; c=relaxed/simple; bh=vnByxI1yvhz7cQm2zv+fS4UfkLZ+4Eziu8+SfaJw+2k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SvyF58A42wAa4SD9J2iqRzoa+Oro7uY/5uDvRV5FplvRuQ1CUdVW4/q+sTAUgIfu1SttOq3Vwyyj4uT9pmHlsoqT+k+OXjsRhkvSdaMBdK0gltFtfCrz0IzjP/8i7iDDNkKgnhVPlucD77CwKYxJFTw8eoj/tF8X8xr21rDHX0s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=ZHIXm3oW; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714447690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=u4umKi23uEoIzCMao6IETndhg1LA1WkSNjlJJg1tq54=; b=ZHIXm3oWpT8m+6fZAyjcYFDFIaarFCd7TZuXD/ZkQuaNepvQVhaph0QEPhsijnPfdtlKKe qaeM7Iady1yJWshq7sKGlU56qVfBkH4zZQC53BNkasAs9+7DBIXTsFwE3PUVQFa/2aGk/K ZxVJT99dDoIKA2T482zmvOMex/fPAW8= From: Youling Tang To: Kent Overstreet Cc: linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Youling Tang Subject: [PATCH] bcachefs: Correct the FS_IOC_GETFLAGS to FS_IOC32_GETFLAGS in bch2_compat_fs_ioctl() Date: Tue, 30 Apr 2024 11:27:44 +0800 Message-Id: <20240430032744.943468-1-youling.tang@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Youling Tang It should be FS_IOC32_GETFLAGS instead of FS_IOC_GETFLAGS in compat ioctl. Signed-off-by: Youling Tang --- fs/bcachefs/fs-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/fs-ioctl.c b/fs/bcachefs/fs-ioctl.c index 3dc8630ff9fe..205a323ffc6d 100644 --- a/fs/bcachefs/fs-ioctl.c +++ b/fs/bcachefs/fs-ioctl.c @@ -548,7 +548,7 @@ long bch2_compat_fs_ioctl(struct file *file, unsigned cmd, unsigned long arg) { /* These are just misnamed, they actually get/put from/to user an int */ switch (cmd) { - case FS_IOC_GETFLAGS: + case FS_IOC32_GETFLAGS: cmd = FS_IOC_GETFLAGS; break; case FS_IOC32_SETFLAGS: -- 2.34.1