linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ext4: trim unused params from convert_initialized_extent()
@ 2016-01-20 20:19 Eric Whitney
  2016-02-23  3:59 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Whitney @ 2016-01-20 20:19 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso

The flags and newblock parameters are unused.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
---
 fs/ext4/extents.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index b52fea3..0288b47 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -3927,8 +3927,8 @@ get_reserved_cluster_alloc(struct inode *inode, ext4_lblk_t lblk_start,
 static int
 convert_initialized_extent(handle_t *handle, struct inode *inode,
 			   struct ext4_map_blocks *map,
-			   struct ext4_ext_path **ppath, int flags,
-			   unsigned int allocated, ext4_fsblk_t newblock)
+			   struct ext4_ext_path **ppath,
+			   unsigned int allocated)
 {
 	struct ext4_ext_path *path = *ppath;
 	struct ext4_extent *ex;
@@ -4347,7 +4347,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
 			    (flags & EXT4_GET_BLOCKS_CONVERT_UNWRITTEN)) {
 				allocated = convert_initialized_extent(
 						handle, inode, map, &path,
-						flags, allocated, newblock);
+						allocated);
 				goto out2;
 			} else if (!ext4_ext_is_unwritten(ex))
 				goto out;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ext4: trim unused params from convert_initialized_extent()
  2016-01-20 20:19 [PATCH] ext4: trim unused params from convert_initialized_extent() Eric Whitney
@ 2016-02-23  3:59 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2016-02-23  3:59 UTC (permalink / raw)
  To: Eric Whitney; +Cc: linux-ext4

On Wed, Jan 20, 2016 at 03:19:23PM -0500, Eric Whitney wrote:
> The flags and newblock parameters are unused.
> 
> Signed-off-by: Eric Whitney <enwlinux@gmail.com>

Thanks, applied.

I've adjusted this patch to just remove the flags parameters (since
the newblock paramter was removed in another patch).

    	     	      	  	     - Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-23  3:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20 20:19 [PATCH] ext4: trim unused params from convert_initialized_extent() Eric Whitney
2016-02-23  3:59 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).