Linux NFS development
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Relocate fh_getattr()
@ 2025-07-02 23:33 Chuck Lever
  2025-07-02 23:33 ` [RFC PATCH 1/2] NFSD: Relocate the fh_want_write() and fh_drop_write() helpers Chuck Lever
  2025-07-02 23:33 ` [RFC PATCH 2/2] NFSD: Move the fh_getattr() helper Chuck Lever
  0 siblings, 2 replies; 3+ messages in thread
From: Chuck Lever @ 2025-07-02 23:33 UTC (permalink / raw)
  To: NeilBrown, Jeff Layton, Olga Kornievskaia, Dai Ngo, Tom Talpey
  Cc: linux-nfs, Chuck Lever

From: Chuck Lever <chuck.lever@oracle.com>

Tucked away in Mike's LOCALIO branch is a patch that, among other
changes, moves fh_getattr() to fs/nfsd/vfs.c. My feeling is that
either:

 - fh_getattr() remains as part of the NFSD FH API, thus it belongs
   in fs/nfsd/nfsfh.c; or

 - if it is to be relocated to fs/nfsd/vfs.c, then it should adopt
   the naming convention used for the public functions in that
   source file.

This patch series tries on the first approach, for size.

It's a nit, I know.

Chuck Lever (2):
  NFSD: Relocate the fh_want_write() and fh_drop_write() helpers
  NFSD: Move the fh_getattr() helper

 fs/nfsd/nfsfh.c | 23 +++++++++++++++++++++++
 fs/nfsd/nfsfh.h | 38 ++++++++++++++++++++++++++++++++++++++
 fs/nfsd/vfs.h   | 33 ---------------------------------
 3 files changed, 61 insertions(+), 33 deletions(-)

-- 
2.50.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-02 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 23:33 [RFC PATCH 0/2] Relocate fh_getattr() Chuck Lever
2025-07-02 23:33 ` [RFC PATCH 1/2] NFSD: Relocate the fh_want_write() and fh_drop_write() helpers Chuck Lever
2025-07-02 23:33 ` [RFC PATCH 2/2] NFSD: Move the fh_getattr() helper Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox