ext4: Update stale comment about write constraints
authorJan Kara <jack@suse.cz>
Tue, 28 Feb 2023 05:13:13 +0000 (00:13 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 23 Mar 2023 14:06:07 +0000 (10:06 -0400)
commit9462f770eda85b754e82b089d8a0d195fa160837
tree55806b64aacf58634aa69d97154c2d3d45eabfae
parente8d018dd0257f744ca50a729e3d042cf2ec9da65
ext4: Update stale comment about write constraints

The comment above do_journal_get_write_access() is very stale. Most of
it just does not refer to what the function does today or how jbd2
works. The bit about transaction handling during write(2) is still
correct so just update the function names in that part and move the
comment to a more appropriate place.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230228051319.4085470-2-tytso@mit.edu
fs/ext4/inode.c