From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D21FD232EA for ; Fri, 9 Jan 2026 07:47:39 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4dnYlY4Hxjz2xQ1; Fri, 09 Jan 2026 18:47:37 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=116.203.167.152 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1767944857; cv=none; b=j8YkEYDbRQ+dNAeKu7TO8zz+oqiO6IpAGXuwGXmkaoOOkQu+59cQn6Lme+IjWJJEIRJM0lAqZV2nSvcCDwgT2KFThZ5qRtH/6KMsGg9bhM9N1Z5NFxB+Vbad3Eq/YFnChHEO7RK23k3ECUl7Y84q5SH2NpJ9/pEV1Caa3XuE8E3LnLgIsJu3i1F5JVOqtPVvwCMhYpOh2ws7RE9OcEjTRXq524zg0KMRBpfVbNqO/6E2rlqJdWdkFBSUEK0Qo5E5Ft85PRBJjuFG/K9xqzvSPk9kkVn8oKnQpAUS7nUFin8pCcgDd+5PPZXk1O78MAhLNXEqnsL43KO6CtreaKB0/w== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1767944857; c=relaxed/relaxed; bh=gRFBl535XJ21h48TaltTZ13zMho2nH839kUbC2YJflo=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=c8XKKAmYgr0yVvRfGm56QXWUm2SuwqCAJZ6ZT5T7BFav/FjtLiUePQn4u8X3cRWRX82zZ2ANa1m2hWZcpdsXAHLCDRzyepbp2h7QNzcu9U6If2EYD6B2uR+f36TnGb1vSxwCH/IwmN5MldJFwaqLehwiY33GyDdLDhtdXzbyeq2XdDdkEghLOmVXnalk3c6NMUKH4Cv0o5zEXG56YEQLiUwW/YgdZ+QB7+xyONC119vHijiCFJzKBk2ud4Ud69jcLknnNJONjv0bhjajTyu2VFwoQiiia7qsF8NX2lDYDI2hOkoJCr0SpDY2Jn1xpLR2pJHSMdOAu9T7TJ9ddzRv0w== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=permerror (client-ip=116.203.167.152; helo=lithops.sigma-star.at; envelope-from=richard@nod.at; receiver=lists.ozlabs.org) smtp.mailfrom=nod.at Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: lists.ozlabs.org; spf=permerror (SPF Permanent Error: Unknown mechanism found: ipv4:195.201.40.130) smtp.mailfrom=nod.at (client-ip=116.203.167.152; helo=lithops.sigma-star.at; envelope-from=richard@nod.at; receiver=lists.ozlabs.org) X-Greylist: delayed 406 seconds by postgrey-1.37 at boromir; Fri, 09 Jan 2026 18:47:35 AEDT Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4dnYlW6M6Pz2xP8 for ; Fri, 09 Jan 2026 18:47:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 8503429ABE4; Fri, 9 Jan 2026 08:40:40 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4Z-nBiPgjzSg; Fri, 9 Jan 2026 08:40:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 9463229ABDC; Fri, 9 Jan 2026 08:40:39 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ipM5fPbFtVak; Fri, 9 Jan 2026 08:40:39 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id C28E529ABCA; Fri, 9 Jan 2026 08:40:38 +0100 (CET) Date: Fri, 9 Jan 2026 08:40:38 +0100 (CET) From: Richard Weinberger To: Jeff Layton Cc: Luis de Bethencourt , Salah Triki , Nicolas Pitre , Christoph Hellwig , Jan Kara , Anders Larsen , Al Viro , Christian Brauner , David Sterba , Chris Mason , Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , Sandeep Dhavale , Hongbo Li , Chunhai Guo , Jan Kara , tytso , Andreas Dilger , Jaegeuk Kim , OGAWA Hirofumi , David Woodhouse , Dave Kleikamp , Ryusuke Konishi , Viacheslav Dubeyko , Konstantin Komarov , Mark Fasheh , Joel Becker , Joseph Qi , Mike Marshall , Martin Brandenburg , Miklos Szeredi , Amir Goldstein , Phillip Lougher , Carlos Maiolino , hughd , Baolin Wang , Andrew Morton , Namjae Jeon , Sungjong Seo , Yuezhang Mo , chuck lever , Alexander Aring , Andreas Gruenbacher , Jonathan Corbet , Matthew Wilcox , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , Xiubo Li , Ilya Dryomov , Trond Myklebust , anna , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Bharath SM , Hans de Goede , linux-kernel , linux-fsdevel , linux-btrfs , linux-erofs , linux-ext4 , linux-f2fs-devel , linux-mtd , jfs-discussion@lists.sourceforge.net, linux-nilfs , ntfs3@lists.linux.dev, ocfs2-devel@lists.linux.dev, devel@lists.orangefs.org, linux-unionfs , linux-xfs , linux-mm , gfs2@lists.linux.dev, Linux Doc Mailing List , v9fs@lists.linux.dev, ceph-devel , linux-nfs , linux-cifs , samba-technical@lists.samba.org Message-ID: <218403128.88322.1767944438487.JavaMail.zimbra@nod.at> In-Reply-To: <20260108-setlease-6-20-v1-12-ea4dec9b67fa@kernel.org> References: <20260108-setlease-6-20-v1-0-ea4dec9b67fa@kernel.org> <20260108-setlease-6-20-v1-12-ea4dec9b67fa@kernel.org> Subject: Re: [PATCH 12/24] jfs: add setlease file operation X-Mailing-List: linux-erofs@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF146 (Linux)/8.8.12_GA_3809) Thread-Topic: add setlease file operation Thread-Index: Ijb4veyM6wDb0tIeqxd8skdz5qkIYA== ----- Urspr=C3=BCngliche Mail ----- > Von: "Jeff Layton" > Add the setlease file_operation to jfs_file_operations and > jfs_dir_operations, pointing to generic_setlease. A future patch will > change the default behavior to reject lease attempts with -EINVAL when > there is no setlease file operation defined. Add generic_setlease to > retain the ability to set leases on this filesystem. >=20 > Signed-off-by: Jeff Layton > --- > fs/jfs/file.c | 2 ++ > fs/jfs/namei.c | 2 ++ > 2 files changed, 4 insertions(+) Acked-by: Richard Weinberger Thanks, //richard