Skip to content

RFC do_add_mount(): lift lock_mount/unlock_mount into callers

Al Viro linux-fsdevel lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest69 patches 11 repliesIn review
  2. v3 RFC55 patches 0 repliesSuperseded
  3. v2 RFC34 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v117 patches6 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/69do_add_mount(): lift lock_mount/unlock_mount into callersfs/namespace.c+24 -234 replies
2/69fix automount/automount race properlyfs/namei.c fs/namespace.c+37 -320 replies
3/69follow_automount(): get rid of dead^Wstillborn codefs/namei.c fs/namespace.c+11 -260 replies
4/69follow_automount() doesn't need the entire nameidatafs/namei.c+5 -50 replies
5/69make build_open_flags() treat O_CREAT | O_EXCL as implying O_NOFOLLOWfs/namei.c fs/open.c+8 -110 replies
6/69handle_mounts(): start building a sane wrapper for follow_managed()fs/namei.c+16 -160 replies
7/69atomic_open(): saner calling conventions (return dentry on success)fs/namei.c+24 -170 replies
8/69lookup_open(): saner calling conventions (return dentry on success)fs/namei.c+19 -270 replies
9/69do_last(): collapse the call of path_to_nameidata()fs/namei.c+4 -30 replies
10/69handle_mounts(): pass dentry in, turn path into a pure out argumentfs/namei.c+18 -190 replies
11/69lookup_fast(): consolidate the RCU success casefs/namei.c+4 -31 reply
12/69teach handle_mounts() to handle RCU modefs/namei.c+17 -292 replies
13/69lookup_fast(): take mount traversal into callersfs/namei.c+24 -260 replies
14/69step_into() callers: dismiss the symlink earlierfs/namei.c+7 -30 replies
15/69new step_into() flag: WALK_NOFOLLOWfs/namei.c+4 -62 replies
16/69fold handle_mounts() into step_into()fs/namei.c+15 -260 replies
17/69LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()fs/autofs/dev-ioctl.c fs/internal.h fs/namei.c +2 more+12 -900 replies
18/69expand the only remaining call of path_lookup_conditional()fs/namei.c+5 -90 replies
19/69merging pick_link() with get_link(), part 1fs/namei.c+7 -50 replies
20/69merging pick_link() with get_link(), part 2fs/namei.c+40 -281 reply
21/69merging pick_link() with get_link(), part 3fs/namei.c+9 -90 replies
22/69merging pick_link() with get_link(), part 4fs/namei.c+26 -330 replies
23/69merging pick_link() with get_link(), part 5fs/namei.c+18 -250 replies
24/69merging pick_link() with get_link(), part 6fs/namei.c+5 -80 replies
25/69finally fold get_link() into pick_link()fs/namei.c+61 -740 replies
26/69sanitize handling of nd->last_type, kill LAST_BINDDocumentation/filesystems/path-lookup.rst fs/namei.c include/linux/namei.h+4 -80 replies
27/69namei: invert the meaning of WALK_FOLLOWfs/namei.c+7 -71 reply
28/69pick_link(): check for WALK_TRAILING, not LOOKUP_PARENTfs/namei.c+5 -50 replies
29/69link_path_walk(): simplify stack handlingfs/namei.c+5 -90 replies
30/69namei: have link_path_walk() maintain LOOKUP_PARENTfs/namei.c+6 -110 replies
31/69massage __follow_mount_rcu() a bitfs/namei.c+35 -350 replies
32/69new helper: traverse_mounts()fs/namei.c+72 -1050 replies
33/69atomic_open(): return the right dentry in FMODE_OPENED casefs/namei.c+5 -10 replies
34/69atomic_open(): lift the call of may_open() into do_last()fs/namei.c+11 -150 replies
35/69do_last(): merge the may_open() callsfs/namei.c+3 -70 replies
36/69do_last(): don't bother with keeping got_write in FMODE_OPENED casefs/namei.c+11 -200 replies
37/69do_last(): rejoing the common path earlier in FMODE_{OPENED,CREATED} casefs/namei.c+8 -130 replies
38/69do_last(): simplify the liveness analysis past finish_open_createdfs/namei.c+11 -170 replies
39/69do_last(): rejoin the common path even earlier in FMODE_{OPENED,CREATED} casefs/namei.c+4 -100 replies
40/69split the lookup-related parts of do_last() into a separate helperfs/namei.c+29 -220 replies
41/69path_connected(): pass mount and dentry separatelyfs/namei.c+5 -70 replies
42/69path_parent_directory(): leave changing path->dentry to callersfs/namei.c+19 -150 replies
43/69expand path_parent_directory() in its callersfs/namei.c+11 -180 replies
44/69follow_dotdot{,_rcu}(): lift switching nd->path to parent out of loopfs/namei.c+12 -80 replies
45/69follow_dotdot{,_rcu}(): lift LOOKUP_BENEATH checks out of loopfs/namei.c+10 -100 replies
46/69move handle_dots(), follow_dotdot() and follow_dotdot_rcu() past step_into()fs/namei.c+130 -1300 replies
47/69handle_dots(), follow_dotdot{,_rcu}(): preparation to switch to step_into()fs/namei.c+25 -270 replies
48/69follow_dotdot{,_rcu}(): switch to use of step_into()fs/namei.c+7 -240 replies
49/69lift all calls of step_into() out of follow_dotdot/follow_dotdot_rcufs/namei.c+37 -350 replies
50/69follow_dotdot{,_rcu}(): massage loopsfs/namei.c+45 -320 replies
51/69follow_dotdot_rcu(): be lazy about changing nd->pathfs/namei.c+20 -150 replies
52/69follow_dotdot(): be lazy about changing nd->pathfs/namei.c+13 -50 replies
53/69helper for mount rootwards traversalfs/namei.c+24 -160 replies
54/69non-RCU analogue of the previous commitfs/namei.c+39 -170 replies
55/69fs/namei.c: kill follow_mount()fs/namei.c+2 -200 replies
56/69pick_link(): more straightforward handling of allocation failuresfs/namei.c+7 -80 replies
57/69pick_link(): pass it struct path already with normal refcounting rulesfs/namei.c+6 -60 replies
58/69fold path_to_nameidata() into its only remaining callerfs/namei.c+6 -130 replies
59/69pick_link(): take reserving space on stack into a new helperfs/namei.c+25 -210 replies
60/69reserve_stack(): switch to __nd_alloc_stack()fs/namei.c+8 -110 replies
61/69__nd_alloc_stack(): make it return boolfs/namei.c+18 -270 replies
62/69link_path_walk(): sample parent's i_uid and i_mode for the last componentfs/namei.c+7 -100 replies
63/69take post-lookup part of do_last() out of loopfs/namei.c+9 -120 replies
64/69open_last_lookups(): consolidate fsnotify_create() callsfs/namei.c+2 -50 replies
65/69open_last_lookups(): don't abuse complete_walk() when all we want is unlazyfs/namei.c+5 -90 replies
66/69open_last_lookups(): lift O_EXCL|O_CREAT handling into do_open()fs/namei.c+2 -50 replies
67/69open_last_lookups(): move complete_walk() into do_open()fs/namei.c+8 -100 replies
68/69atomic_open(): no need to pass struct open_flags anymorefs/namei.c+1 -20 replies
69/69lookup_open(): don't bother with fallbacks to lookup+createfs/namei.c+9 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread