Skip to content

fget*() cleanups

Oleg Nesterov lkml 1 version Applied

Status from this message: Applied, along with fcheck_files() stuff. Sorry about late reply, I'm

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3fs: factor out common code in fget() and fget_raw()fs/file.c+8 -171 reply
2/3fs: factor out common code in fget_light() and fget_raw_light()fs/file.c+9 -241 reply
3/3fs: __fget_light() can use __fget() in slow pathfs/file.c+3 -111 reply

Reviews trailers per patch

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

PatchPaul E. McKenney
1/3R-b
2/3R-b
3/3R-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/3] fget*() cleanups
Quoted 8 lines · Paul E. McKenney
Quoted 2 lines · Oleg Nesterov

It seems that you misunderstood me, let me send v2 for review.

Ah, I did misunderstand you. For both:

Thanks!

While at it, can't we factor out the code in fget*() ?

Probably I dislike the code duplications too much, but imho fget*() abuse the copy-and-paste.

On top of this series, saves 600 bytes.

Oleg.

 fs/file.c |   70 ++++++++++++++++--------------------------------------------
 1 files changed, 19 insertions(+), 51 deletions(-)