[PATCH 03/14] fs: export vfs_utimes

Christoph Hellwig
2025-11-14T06:27:11Z

This will be used to replace an incorrect direct call into
generic_update_time in btrfs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
fs/utimes.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/utimes.c b/fs/utimes.c
index c7c7958e57b2..3e7156396230 100644
--- a/fs/utimes.c
+++ b/fs/utimes.c
@@ -76,6 +76,7 @@ int vfs_utimes(const struct path *path, struct timespec64 *times)
out:
return error;
}
+EXPORT_SYMBOL_GPL(vfs_utimes);

static int do_utimes_path(int dfd, const char __user *filename,
struct timespec64 *times, int flags)
--
2.47.3