mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
buffer: Remove reference to unmap_buffer()
unmap_buffer() was removed 25 years ago in v2.4.10.0.1. We don't need to mention it in a comment any more. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Link: https://patch.msgid.link/20260828205429.3678204-2-willy@infradead.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
parent
00db7c70bf
commit
c7ea7fb609
|
|
@ -1615,9 +1615,7 @@ EXPORT_SYMBOL(create_empty_buffers);
|
|||
* moment when something will explicitly mark the buffer dirty (hopefully that
|
||||
* will not happen until we will free that block ;-) We don't even need to mark
|
||||
* it not-uptodate - nobody can expect anything from a newly allocated buffer
|
||||
* anyway. We used to use unmap_buffer() for such invalidation, but that was
|
||||
* wrong. We definitely don't want to mark the alias unmapped, for example - it
|
||||
* would confuse anyone who might pick it with bread() afterwards...
|
||||
* anyway.
|
||||
*
|
||||
* Also.. Note that bforget() doesn't lock the buffer. So there can be
|
||||
* writeout I/O going on against recently-freed buffers. We don't wait on that
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user