aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2022-04-22 15:03:20 +0300
committerJan Kara <[email protected]>2022-04-25 14:37:31 +0200
commitb8962a9d8cc2d8c93362e2f684091c79f702f6f3 (patch)
tree8eb1745ec6e28b8f540dccc63cbb03097bbf2053 /lib/test_fortify/write_overflow-strlcpy-src.c
parent960bdff24ce802e38df918ebfcbfa62744d6ae22 (diff)
nfsd: use fsnotify group lock helpers
Before commit 9542e6a643fc6 ("nfsd: Containerise filecache laundrette") nfsd would close open files in direct reclaim context and that could cause a deadlock when fsnotify mark allocation went into direct reclaim and nfsd shrinker tried to free existing fsnotify marks. To avoid issues like this in future code, set the FSNOTIFY_GROUP_NOFS flag on nfsd fsnotify group to prevent going into direct reclaim from fsnotify_add_inode_mark(). Link: https://lore.kernel.org/r/[email protected] Suggested-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions