]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
btrfs: fix the comment on btrfs_update_time
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2025 06:47:26 +0000 (07:47 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 26 Nov 2025 13:50:10 +0000 (14:50 +0100)
Since commit e41f941a2311 ("Btrfs: move over to use ->update_time") this
is not a copy of the high-level file_update_time helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251120064859.2911749-6-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/inode.c

index 36c451a9a0bfa322bcf40e517068e87d3f383d05..e74cf17127788d16bb600d643a1b9f47eaedbe6f 100644 (file)
@@ -6291,8 +6291,8 @@ static int btrfs_dirty_inode(struct btrfs_inode *inode)
 }
 
 /*
- * This is a copy of file_update_time.  We need this so we can return error on
- * ENOSPC for updating the inode in the case of file write and mmap writes.
+ * We need our own ->update_time so that we can return error on ENOSPC for
+ * updating the inode in the case of file write and mmap writes.
  */
 static int btrfs_update_time(struct inode *inode, int flags)
 {