[PATCH 09/11] fat: enable non-blocking timestamp updates

Christoph Hellwig
2025-12-23T00:38:54Z

As fat dosn't implement ->dirty_inode, nothing in fat_update_time can
block, and fat can thus trivially implement non-blocking timestamp
updates.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
fs/fat/misc.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/fs/fat/misc.c b/fs/fat/misc.c
index 5df3193c35f9..950da09f0961 100644
--- a/fs/fat/misc.c
+++ b/fs/fat/misc.c
@@ -346,9 +346,6 @@ int fat_update_time(struct inode *inode, int flags)
if (inode->i_ino == MSDOS_ROOT_INO)
return 0;

- if (flags & S_NOWAIT)
- return -EAGAIN;
-
if (flags & (S_ATIME | S_CTIME | S_MTIME)) {
fat_truncate_time(inode, NULL, flags);
if (inode->i_sb->s_flags & SB_LAZYTIME)
--
2.47.3