diff options
author | Tal Zussman <[email protected]> | 2021-12-31 02:57:50 -0500 |
---|---|---|
committer | Al Viro <[email protected]> | 2022-01-30 14:34:55 -0500 |
commit | c51acdb78f92719127995c0fe41108df0552edc3 (patch) | |
tree | 14c5041e3a5a26ac1e1a7d1783b06730bc169c3f /net/lapb/lapb_subr.c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) |
fs: Remove FIXME comment in generic_write_checks()
This patch removes an unnecessary comment that had to do with block special
files from `generic_write_checks()`.
The comment, originally added in Linux v2.4.14.9, was to clarify that we only
set `pos` to the file size when the file was opened with `O_APPEND` if the file
wasn't a block special file. Prior to Linux v2.4, block special files had a
different `write()` function which was unified into a generic `write()` function
in Linux v2.4. This generic `write()` function called `generic_write_checks()`.
For more details, see this earlier conversation:
https://lore.kernel.org/linux-fsdevel/[email protected]/
Currently, block special devices have their own `write_iter()` function and no
longer share the same `generic_write_checks()`, therefore rendering the comment
irrelevant.
Signed-off-by: Tal Zussman <[email protected]>
Co-authored-by: Xijiao Li <[email protected]>
Co-authored-by: Hans Montero <[email protected]>
Suggested-by: Theodore Ts'o <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions