diff mbox series

writeback: remove obsolete macro EXPIRE_DIRTY_ATIME

Message ID 20221210101042.2012931-1-linmiaohe@huawei.com (mailing list archive)
State New, archived
Headers show
Series writeback: remove obsolete macro EXPIRE_DIRTY_ATIME | expand

Commit Message

Miaohe Lin Dec. 10, 2022, 10:10 a.m. UTC
EXPIRE_DIRTY_ATIME is not used anymore. Remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 fs/fs-writeback.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jan Kara Dec. 12, 2022, 1:37 p.m. UTC | #1
On Sat 10-12-22 18:10:42, Miaohe Lin wrote:
> EXPIRE_DIRTY_ATIME is not used anymore. Remove it.
> 
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>

Sure. Thanks! Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza

> ---
>  fs/fs-writeback.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
> index 9958d4020771..6bad645ac36f 100644
> --- a/fs/fs-writeback.c
> +++ b/fs/fs-writeback.c
> @@ -1345,8 +1345,6 @@ static bool inode_dirtied_after(struct inode *inode, unsigned long t)
>  	return ret;
>  }
>  
> -#define EXPIRE_DIRTY_ATIME 0x0001
> -
>  /*
>   * Move expired (dirtied before dirtied_before) dirty inodes from
>   * @delaying_queue to @dispatch_queue.
> -- 
> 2.27.0
>
Jens Axboe Dec. 12, 2022, 8:08 p.m. UTC | #2
On Sat, 10 Dec 2022 18:10:42 +0800, Miaohe Lin wrote:
> EXPIRE_DIRTY_ATIME is not used anymore. Remove it.
> 
> 

Applied, thanks!

[1/1] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
      commit: 23e188a16423a6e65290abf39dd427ff047e6843

Best regards,
Miaohe Lin Dec. 13, 2022, 2:09 a.m. UTC | #3
On 2022/12/13 4:08, Jens Axboe wrote:
> 
> On Sat, 10 Dec 2022 18:10:42 +0800, Miaohe Lin wrote:
>> EXPIRE_DIRTY_ATIME is not used anymore. Remove it.
>>
>>
> 
> Applied, thanks!
> 
> [1/1] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
>       commit: 23e188a16423a6e65290abf39dd427ff047e6843
> 
> Best regards,

Many thanks both for quick respond in such busy days. :)

Thanks,
Miaohe Lin
diff mbox series

Patch

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 9958d4020771..6bad645ac36f 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1345,8 +1345,6 @@  static bool inode_dirtied_after(struct inode *inode, unsigned long t)
 	return ret;
 }
 
-#define EXPIRE_DIRTY_ATIME 0x0001
-
 /*
  * Move expired (dirtied before dirtied_before) dirty inodes from
  * @delaying_queue to @dispatch_queue.