* [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 related [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, other threads:[~2019-08-28 15:33 UTC | newest]
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
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).