nilfs2-convert-to-use-the-new-mount-api.patch removed from -mm tree
The quilt patch titled
Subject: nilfs2: convert to use the new mount API
has been removed from the -mm tree. Its filename was
nilfs2-convert-to-use-the-new-mount-api.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Eric Sandeen <[email protected]>
Subject: nilfs2: convert to use the new mount API
Date: Thu, 25 Apr 2024 03:27:16 +0900
Convert nilfs2 to use the new mount API.
[[email protected]: v2]
[konishi.ryusuke: fixed missing SB_RDONLY flag repair in nilfs_reconfigure]
Signed-off-by Eric Sandeen <[email protected]>
Signed-off-by Ryusuke Konishi <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/nilfs2/nilfs.h | 4 fs/nilfs2/super.c | 388 +++++++++++++++++----------------------- fs/nilfs2/the_nilfs.c | 5 fs/nilfs2/the_nilfs.h | 6 4 files changed, 174 insertions(+), 229 deletions(-)
fs/nilfs2/nilfs.h renamed from fs/nilfs2/nilfs.h~nilfs2-convert-to-use-the-new-mount-api +2 -2
@@ -335,8 +335,8 @@ void __nilfs_error(struct super_block *sextern struct nilfs_super_block *nilfs_read_super_block (struct super_block *,u64 ,int ,struct buffer_head **); -extern int nilfs_store_magic_and_option (struct super_block *, -struct nilfs_super_block *,char *); +extern int nilfs_store_magic (struct super_block *sb, +struct nilfs_super_block *sbp);extern int nilfs_check_feature_compatibility (struct super_block *,struct nilfs_super_block *); extern void nilfs_set_log_cursor(struct nilfs_super_block *,
fs/nilfs2/super.c renamed from fs/nilfs2/super.c~nilfs2-convert-to-use-the-new-mount-api +169 -219
553 lines not on this page · raw message
fs/nilfs2/the_nilfs.c renamed from fs/nilfs2/the_nilfs.c~nilfs2-convert-to-use-the-new-mount-api +2 -3
@@ -659,7 +659,6 @@ static int nilfs_load_super_block(struct* init_nilfs - initialize a NILFS instance. * @nilfs: the_nilfs structure * @sb: super block -* @data: mount options * * init_nilfs() performs common initialization per block device (e.g. * reading the super block, getting disk layout information, initializing
@@ -668,7 +667,7 @@ static int nilfs_load_super_block(struct* Return Value: On success, 0 is returned. On error, a negative error * code is returned. */ -int init_nilfs (struct the_nilfs *nilfs,struct super_block *sb,char *data) +int init_nilfs (struct the_nilfs *nilfs,struct super_block *sb) {struct nilfs_super_block *sbp;int blocksize;
@@ -686,7 +685,7 @@ int init_nilfs(struct the_nilfs *nilfs,if (err) goto out; - err =nilfs_store_magic_and_option (sb, sbp, data); + err =nilfs_store_magic (sb, sbp);if (err) goto failed_sbh;
fs/nilfs2/the_nilfs.h renamed from fs/nilfs2/the_nilfs.h~nilfs2-convert-to-use-the-new-mount-api +1 -5
@@ -219,10 +219,6 @@ THE_NILFS_FNS(PURGING, purging)#define nilfs_set_opt (nilfs, opt) \ ((nilfs)->ns_mount_opt |= NILFS_MOUNT_##opt)#define nilfs_test_opt (nilfs, opt) ((nilfs)->ns_mount_opt & NILFS_MOUNT_##opt) -#define nilfs_write_opt (nilfs, mask, opt) \ - ((nilfs)->ns_mount_opt = \ - (((nilfs)->ns_mount_opt & ~NILFS_MOUNT_##mask) | \ - NILFS_MOUNT_##opt)) \/** * struct nilfs_root - nilfs root object
@@ -276,7 +272,7 @@ static inline int nilfs_sb_will_flip(strvoid nilfs_set_last_segment (struct the_nilfs *,sector_t ,u64 ,__u64 );struct the_nilfs *alloc_nilfs (struct super_block *sb);void destroy_nilfs (struct the_nilfs *nilfs); -int init_nilfs (struct the_nilfs *nilfs,struct super_block *sb,char *data); +int init_nilfs (struct the_nilfs *nilfs,struct super_block *sb);int load_nilfs (struct the_nilfs *nilfs,struct super_block *sb);unsigned long nilfs_nrsvsegs (struct the_nilfs *nilfs,unsigned long nsegs);void nilfs_set_nsegments (struct the_nilfs *nilfs,unsigned long nsegs);
_
Patches currently in -mm which might be from [email protected] are