Skip to contentSkip to conversation

fs-befs-replace-befs_bread-by-sb_bread.patch removed from -mm tree

merged [email protected] 1 participant 2 messages Aug 2, 2016 1 message not in the archive

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: fs: befs: replace befs_bread by sb_bread
has been removed from the -mm tree. Its filename was
fs-befs-replace-befs_bread-by-sb_bread.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Salah Triki <[email protected]>
Subject: fs: befs: replace befs_bread by sb_bread

Since befs_bread merely calls sb_bread, replace it by sb_bread.

---

 fs/befs/datastream.c |    6 +++---
 fs/befs/io.c         |   24 ------------------------
 fs/befs/io.h         |    2 --
 fs/befs/linuxvfs.c   |    2 +-
 4 files changed, 4 insertions(+), 30 deletions(-)
fs/befs/datastream.c renamed from fs/befs/datastream.c~fs-befs-replace-befs_bread-by-sb_bread +3 -3
diff -puN fs/befs/datastream.c~fs-befs-replace-befs_bread-by-sb_bread fs/befs/datastream.c
@@ -326,7 +326,7 @@ befs_find_brun_indirect(struct super_blo
 
 	/* Examine blocks of the indirect run one at a time */
 	for (i = 0; i < indirect.len; i++) {
-		indirblock = befs_bread(sb, indirblockno + i);
+		indirblock = sb_bread(sb, indirblockno + i);
 		if (indirblock == NULL) {
 			befs_debug(sb, "---> %s failed to read "
 				   "disk block %lu from the indirect brun",
@@ -471,7 +471,7 @@ befs_find_brun_dblindirect(struct super_
 	}
 
 	dbl_indir_block =
-	    befs_bread(sb, iaddr2blockno(sb, &data->double_indirect) +
+	    sb_bread(sb, iaddr2blockno(sb, &data->double_indirect) +
 					dbl_which_block);
 	if (dbl_indir_block == NULL) {
 		befs_error(sb, "%s couldn't read the "
@@ -499,7 +499,7 @@ befs_find_brun_dblindirect(struct super_
 	}
 
 	indir_block =
-	    befs_bread(sb, iaddr2blockno(sb, &indir_run) + which_block);
+	    sb_bread(sb, iaddr2blockno(sb, &indir_run) + which_block);
 	if (indir_block == NULL) {
 		befs_error(sb, "%s couldn't read the indirect block "
 			   "at blockno %lu", __func__, (unsigned long)
fs/befs/io.c renamed from fs/befs/io.c~fs-befs-replace-befs_bread-by-sb_bread +0 -24
diff -puN fs/befs/io.c~fs-befs-replace-befs_bread-by-sb_bread fs/befs/io.c
@@ -59,27 +59,3 @@ befs_bread_iaddr(struct super_block *sb,
 	befs_debug(sb, "<--- %s ERROR", __func__);
 	return NULL;
 }
-
-struct buffer_head *
-befs_bread(struct super_block *sb, befs_blocknr_t block)
-{
-	struct buffer_head *bh;
-
-	befs_debug(sb, "---> Enter %s %lu", __func__, (unsigned long)block);
-
-	bh = sb_bread(sb, block);
-
-	if (bh == NULL) {
-		befs_error(sb, "Failed to read block %lu",
-			   (unsigned long)block);
-		goto error;
-	}
-
-	befs_debug(sb, "<--- %s", __func__);
-
-	return bh;
-
-      error:
-	befs_debug(sb, "<--- %s ERROR", __func__);
-	return NULL;
-}
fs/befs/io.h renamed from fs/befs/io.h~fs-befs-replace-befs_bread-by-sb_bread +0 -1
diff -puN fs/befs/io.h~fs-befs-replace-befs_bread-by-sb_bread fs/befs/io.h
@@ -5,5 +5,3 @@
 struct buffer_head *befs_bread_iaddr(struct super_block *sb,
 				     befs_inode_addr iaddr);
 
-struct buffer_head *befs_bread(struct super_block *sb, befs_blocknr_t block);

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · On Tue, 02 Aug 2016 10:44:49 +0100 Luis de Bethencourt…

Looks like these patches are dropped from the -mm tree because they are already pulled into linux-next via my git branch [0].

Forgive my inexperience with the process of adding git trees into the Linux development process. When I asked Stephen to add the befs tree to linux-next I was thinking about testing against any conflicts, but didn't realize about the impact from merging the patches twice via -mm and befs tree.

That's cool - this happens all the time.

Quoted 8 lines

I should've asked you the following before doing this:
How do you want to proceed with the befs file system patch flow?

Aiming to make your life easier and taking some of the work load. I created the git tree to make it easy to keep track of the patches Salah and myself Ack. I know these aren't high priority in your list so wanted to make it easier. You can see there is a bunch of patches in the for-next branch [1] where I have been the only reviewer and signed off.

Quoted 5 lines

Then the question is about sending them to you in a tar ball/patch bundle/git pull, or asking Linus to pull from my git tree. The latter means less work for you, which is part of the goals, but needs to wait a little bit until I get my second and third signature in my GPG key from kernel.org trusted people. If you prefer the former, let me know which process you prefer, I know you aren't a fan of git pulls.

Please ask Linus to pull the patches.

Quoted 6 lines

The timing isn't great, ideally we want these cleanup patches to go through in -rc1 and after that the rest will wait for the next development cycle. Unless there is a bug fix, which might happen since I am chasing some odd behaviour in befs_find_key().

Everything will go through the mailing list as usual and patches will sit on for-next at least a week before moving to for-linus.

That's OK. You might miss 4.8 but I don't think there's any rush on this material?