Skip to content

minor fd cleanup

Mateusz Guzik linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfs: stop clearing close on exec when closing a fdfs/file.c+0 -11 reply
2/2vfs: grab the lock instead of blocking in __fd_install during resizingDocumentation/filesystems/porting fs/file.c+7 -85 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] minor fd cleanup

The first patch is a super minor nit and I'm fine with it being ignored.

Second patch is imho of actual value.

fd_install has an avoidable requirement to be called in a sleepable context. It matters e.g. in rhel7 to where the patch was recently backported and the new requirement could not be enforced.

I don't see any benefits from sleeping over locking and not sleeping makes the function slightly nicer.

Mateusz Guzik (2):
vfs: stop clearing close on exec when closing a fd
vfs: grab the lock instead of blocking in __fd_install during resizing

 Documentation/filesystems/porting |  4 ----
 fs/file.c                         | 12 +++++++-----
 2 files changed, 7 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.3.1