Linux-ext4 Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] ext4: tidy up white space in count_rsvd()
@ 2019-08-27  8:47 Dan Carpenter
  2019-08-27 20:54 ` Eric Whitney
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Carpenter @ 2019-08-27  8:47 UTC (permalink / raw)
  To: Theodore Ts'o, Eric Whitney
  Cc: Andreas Dilger, linux-ext4, kernel-janitors

This line was indented one tab too far.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 fs/ext4/extents_status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
index dc28a9642452..f17e3f521a17 100644
--- a/fs/ext4/extents_status.c
+++ b/fs/ext4/extents_status.c
@@ -1089,7 +1089,7 @@ static void count_rsvd(struct inode *inode, ext4_lblk_t lblk, long len,
 	 */
 	if ((i + sbi->s_cluster_ratio - 1) <= end) {
 		nclu = (end - i + 1) >> sbi->s_cluster_bits;
-			rc->ndelonly += nclu;
+		rc->ndelonly += nclu;
 		i += nclu << sbi->s_cluster_bits;
 	}
 
-- 
2.20.1


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

* Re: [PATCH] ext4: tidy up white space in count_rsvd()
  2019-08-27  8:47 [PATCH] ext4: tidy up white space in count_rsvd() Dan Carpenter
@ 2019-08-27 20:54 ` Eric Whitney
  2019-08-28 15:33   ` Theodore Y. Ts'o
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Whitney @ 2019-08-27 20:54 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Theodore Ts'o, Eric Whitney, Andreas Dilger, linux-ext4,
	kernel-janitors

* Dan Carpenter <dan.carpenter@oracle.com>:
> This line was indented one tab too far.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Good catch, thanks.  You can add:

Reviewed-by: Eric Whitney <enwlinux@gmail.com>

> ---
>  fs/ext4/extents_status.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
> index dc28a9642452..f17e3f521a17 100644
> --- a/fs/ext4/extents_status.c
> +++ b/fs/ext4/extents_status.c
> @@ -1089,7 +1089,7 @@ static void count_rsvd(struct inode *inode, ext4_lblk_t lblk, long len,
>  	 */
>  	if ((i + sbi->s_cluster_ratio - 1) <= end) {
>  		nclu = (end - i + 1) >> sbi->s_cluster_bits;
> -			rc->ndelonly += nclu;
> +		rc->ndelonly += nclu;
>  		i += nclu << sbi->s_cluster_bits;
>  	}
>  
> -- 
> 2.20.1
> 

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

* Re: [PATCH] ext4: tidy up white space in count_rsvd()
  2019-08-27 20:54 ` Eric Whitney
@ 2019-08-28 15:33   ` Theodore Y. Ts'o
  0 siblings, 0 replies; 3+ messages in thread
From: Theodore Y. Ts'o @ 2019-08-28 15:33 UTC (permalink / raw)
  To: Eric Whitney; +Cc: Dan Carpenter, Andreas Dilger, linux-ext4, kernel-janitors

On Tue, Aug 27, 2019 at 04:54:45PM -0400, Eric Whitney wrote:
> * Dan Carpenter <dan.carpenter@oracle.com>:
> > This line was indented one tab too far.
> > 
> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> 
> Good catch, thanks.  You can add:
> 
> Reviewed-by: Eric Whitney <enwlinux@gmail.com>

Thanks, applied by fixing up the original base patch.

		   	     	 - Ted

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27  8:47 [PATCH] ext4: tidy up white space in count_rsvd() Dan Carpenter
2019-08-27 20:54 ` Eric Whitney
2019-08-28 15:33   ` Theodore Y. Ts'o

Linux-ext4 Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-ext4/0 linux-ext4/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-ext4 linux-ext4/ https://lore.kernel.org/linux-ext4 \
		linux-ext4@vger.kernel.org linux-ext4@archiver.kernel.org
	public-inbox-index linux-ext4


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-ext4


AGPL code for this site: git clone https://public-inbox.org/ public-inbox