diff options
| author | Luis Henriques <[email protected]> | 2025-06-13 10:11:11 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-06-16 07:59:24 +0000 |
| commit | dd2d6b7f6f519d078a866a36a625b0297d81c5bc (patch) | |
| tree | cef73ac82800cbfd96c9a772042d7597bba8d967 /security/security.c | |
| parent | fs: unlock the superblock during iterate_supers_type (diff) | |
| download | kernel-dd2d6b7f6f519d078a866a36a625b0297d81c5bc.tar.gz kernel-dd2d6b7f6f519d078a866a36a625b0297d81c5bc.zip | |
fs: drop assert in file_seek_cur_needs_f_lock
The assert in function file_seek_cur_needs_f_lock() can be triggered very
easily because there are many users of vfs_llseek() (such as overlayfs)
that do their custom locking around llseek instead of relying on
fdget_pos(). Just drop the overzealous assertion.
Fixes: da06e3c51794 ("fs: don't needlessly acquire f_lock")
Suggested-by: Jan Kara <[email protected]>
Suggested-by: Mateusz Guzik <[email protected]>
Signed-off-by: Luis Henriques <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions
