From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64CC023BD1D for ; Wed, 1 Jul 2026 00:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782864726; cv=none; b=PumkhyO3l1DgV/ZuiV5ZfYcLlDPfQAMuskexRwXteewJeK4M/mEi+ZTUzy40iuXoGuB8QuB6Gy/XwI4ceL6402Pg8opcKw8U6zyOwRks8+xcAJfseFafzgaphQ9xcVlCkV8vTrmVxkeLvw3ZYGyAO5UYXxOqzUF/liYNhoMruGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782864726; c=relaxed/simple; bh=rZMwAp8AP75tyrP6Z70wspwAjYZTN/vjlM8jMf9jJdI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NOvVwBkKdf35Zan094Bdo4+bLC1A7NV682iiW1EUM3q9T3O6RKe44kN3G1sA7Hese3npbu4M3AJDs4oUW/jziomBmxR5kM9xr0axZezTR9ojBR7KE61RR7XOBUaqEhBFPHcND+61zAsADlg64r6/g3yKqc2KD/d7r7wGJ7XhXYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eZ9f/Q84; arc=none smtp.client-ip=209.85.210.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eZ9f/Q84" Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-7e9bc8dd61fso103510a34.1 for ; Tue, 30 Jun 2026 17:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782864724; x=1783469524; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v1PYWDER/X9yFiAy2VkcCTuFWmeMhUIUR7JtPj5OqF0=; b=eZ9f/Q84EvxqqynV7SFXezS0DXLrV4H3fd0tsCS/Jw4h29gx9lcA0CCZfEiegssnHT ZEUbyIazOCNGNPHL+QA4CYY20riGi2M2jrjHop2ySafiI/tuS2hOTZ740p+sZEKZNPKN jZRtH2Z7OQ5oOcfVm8OTy3I1HzVSL7utaye8KUbdDOSycY6HuHkPCRDprmGofwqgXu+E eqQIbVhzlnskQpxYp+12FL8oOsJsFfZ6aeF4arsKSdkokWpKlRjYCanl6phyQQL9pBVw 7IYnHlJhfr6ofE3Q0HlCpc/f5wQDfdBFX45dXOhhMpqO22pCTrFroJxea8cj86cYIAZj dNRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782864724; x=1783469524; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=v1PYWDER/X9yFiAy2VkcCTuFWmeMhUIUR7JtPj5OqF0=; b=qFqksZ/y2Q7OMJotynGIM4sJvESVe/DZ3JeJSJehoMjyEDdiz/EaamKpW1TBtirnS2 KuQb6pp8Mu/9TvX44YdNak36iY+SbeFfJ9f7dSaHSDF4yx/K6lIP6tL4ZYC1LlFq7BjG ANypJkTf2DetN5hXkDJyrYWu2/myIti69wiBJA3lzHBUKdHy9Q27LJAQ3k8WAjCOz+6M NzTRnHPU1GRYEN281WK268wPj058RHqcj8Rt0RZ+yEziAflxoaTpp1jgGONP8d+PAl+0 eJ+h3T2oyH2fv08XddL62R93LL3aTyuQOG3kxPlYKD+KlT8SBpgKdnkcgiDDaOO3/MjE Zqrw== X-Forwarded-Encrypted: i=1; AFNElJ9z7uM/d8Jb8hcRSgS6/nOHqGFEUu7qmcswzdOp/wBDk0NHlqtbKG+6Eh6VvhnkYWEoGkRrKNaHXm4R8Ms=@vger.kernel.org X-Gm-Message-State: AOJu0YxedyuccvTGjRtUGKmoK9K4V6upbmPrqYq6mJs2Gmrr3kmshtpv SPeO+WNBnuKYjSZLh5yBPgjxg+5ywOAGXtjBZe6mFCIYz080CDhP6ruq X-Gm-Gg: AfdE7cmmHb7MnXNxOzrbPcKR3O6BeET/km0jjOsa7aUKRCDiBXMwepPIjuvdNJd7HJX +JIEQ3KYcqyw8OhzZjVop9ydKtt48OepjHq3iIBGuUrWxtiyl2z9VYwAoXvJqqmL5gnE2hVLLND NGaNzee7hMzsKIfENoFfuPBJlonWWXHVW5GkxVH6iX6Sow3VgfZw9PcDnclY6O/nOYmOKg5YR57 QVOpE8FNOb/gdqmoqs7z0MVV4O/TRDjqy30ZvfJLdCOzAamhrDmJEyZUkWFnSnyYxpcLqYqoieg Jm/2bSTi7RWU00T7Y/+UVjp5BQUVrpEbMVNAOnPC+GnAz733FINPiVMFeageFfrtsImh+U+MU0H jRLcAfan+lKs7cOaHGxnORpEAg/WByTbbqMc0H9fbouUn1VzGZwr1AjzEtuXww1TjJzhmiKqzWL WmUHlmctVaTc+CBtVIaSkciqSoVqean+np2WMn9nU/1iN3LzACOFIodOaw+ekI2T9+q7BlYJoRu ys= X-Received: by 2002:a05:6830:439e:b0:7e6:f2dd:93c3 with SMTP id 46e09a7af769-7e9ec706306mr4755934a34.15.1782864724460; Tue, 30 Jun 2026 17:12:04 -0700 (PDT) Received: from localhost ([2a03:2880:ff:4d::]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7e9ebf891b8sm3635363a34.6.2026.06.30.17.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2026 17:12:03 -0700 (PDT) From: Joanne Koong To: brauner@kernel.org, hch@lst.de Cc: djwong@kernel.org, willy@infradead.org, hsiangkao@linux.alibaba.com, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, Mikulas Patocka , linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 13/18] hpfs: convert iomap ops to ->iomap_next() Date: Tue, 30 Jun 2026 17:09:28 -0700 Message-ID: <20260701000949.1666714-14-joannelkoong@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260701000949.1666714-1-joannelkoong@gmail.com> References: <20260701000949.1666714-1-joannelkoong@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert hpfs iomap_ops to the new ->iomap_next() callback. This uses the iomap_process() helper, which finishes the previous mapping if needed and produces the next one. No functional changes are intended. Signed-off-by: Joanne Koong --- fs/hpfs/file.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c index 29e876705369..1df9f28fb40b 100644 --- a/fs/hpfs/file.c +++ b/fs/hpfs/file.c @@ -156,8 +156,14 @@ static int hpfs_iomap_begin(struct inode *inode, loff_t offset, loff_t length, return 0; } +static int hpfs_iomap_next(const struct iomap_iter *iter, struct iomap *iomap, + struct iomap *srcmap) +{ + return iomap_process(iter, iomap, srcmap, hpfs_iomap_begin, NULL); +} + static const struct iomap_ops hpfs_iomap_ops = { - .iomap_begin = hpfs_iomap_begin, + .iomap_next = hpfs_iomap_next, }; static int hpfs_read_folio(struct file *file, struct folio *folio) -- 2.52.0