aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/serial/esp32_acm.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-08-16 16:47:59 +0300
committerAmir Goldstein <amir73il@gmail.com>2023-10-31 00:12:57 +0200
commit5b02bfc1e7e3811c5bf7f0fa626a0694d0dbbd77 (patch)
tree508405693acdfdf8200f5890f4930e9a48e49cde /drivers/tty/serial/esp32_acm.c
parentc63e56a4a6523fcb1358e1878607d77a40b534bb (diff)
ovl: do not encode lower fh with upper sb_writers held
When lower fs is a nested overlayfs, calling encode_fh() on a lower directory dentry may trigger copy up and take sb_writers on the upper fs of the lower nested overlayfs. The lower nested overlayfs may have the same upper fs as this overlayfs, so nested sb_writers lock is illegal. Move all the callers that encode lower fh to before ovl_want_write(). Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'drivers/tty/serial/esp32_acm.c')
0 files changed, 0 insertions, 0 deletions