Skip to content

Commit f981264

Browse files
Christoph Hellwigbrauner
authored andcommitted
btrfs: fix the comment on btrfs_update_time
Since commit e41f941 ("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>
1 parent ded9958 commit f981264

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/btrfs/inode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6291,8 +6291,8 @@ static int btrfs_dirty_inode(struct btrfs_inode *inode)
62916291
}
62926292

62936293
/*
6294-
* This is a copy of file_update_time. We need this so we can return error on
6295-
* ENOSPC for updating the inode in the case of file write and mmap writes.
6294+
* We need our own ->update_time so that we can return error on ENOSPC for
6295+
* updating the inode in the case of file write and mmap writes.
62966296
*/
62976297
static int btrfs_update_time(struct inode *inode, int flags)
62986298
{

0 commit comments

Comments
 (0)