pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Patch to implement |MRxSetFileInfoAtCleanup()|, 2025-04-11
Posted by Anonymous on Fri 11th Apr 2025 15:54
raw | new post

  1. From 642e797416676f078178db811198ea65b404edb8 Mon Sep 17 00:00:00 2001
  2. From: Roland Mainz <roland.mainz@nrubsig.org>
  3. Date: Fri, 11 Apr 2025 15:28:29 +0200
  4. Subject: [PATCH] sys: Implement |MRxSetFileInfoAtCleanup()| for RDBSS
  5.  conformance
  6.  
  7. Implement |MRxSetFileInfoAtCleanup()| for RDBSS/MRX conformance
  8.  
  9. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  10. ---
  11. sys/nfs41sys_driver.c | 2 ++
  12.  sys/nfs41sys_driver.h | 2 ++
  13.  2 files changed, 4 insertions(+)
  14.  
  15. diff --git a/sys/nfs41sys_driver.c b/sys/nfs41sys_driver.c
  16. index 9457ddb..687ca93 100644
  17. --- a/sys/nfs41sys_driver.c
  18. +++ b/sys/nfs41sys_driver.c
  19. @@ -1168,6 +1168,8 @@ NTSTATUS nfs41_init_ops(void)
  20.          (PMRX_CALLDOWN)nfs41_QueryFileInformation;
  21.      nfs41_ops.MRxSetFileInfo          =
  22.          (PMRX_CALLDOWN)nfs41_SetFileInformation;
  23. +    nfs41_ops.MRxSetFileInfoAtCleanup =
  24. +        (PMRX_CALLDOWN)nfs41_SetFileInformationAtCleanup;
  25.      nfs41_ops.MRxQueryQuotaInfo       =
  26.          (PMRX_CALLDOWN)nfs41_Unimplemented;
  27.      nfs41_ops.MRxSetQuotaInfo         =
  28. diff --git a/sys/nfs41sys_driver.h b/sys/nfs41sys_driver.h
  29. index c671625..ab47b4e 100644
  30. --- a/sys/nfs41sys_driver.h
  31. +++ b/sys/nfs41sys_driver.h
  32. @@ -867,6 +867,8 @@ NTSTATUS nfs41_QueryFileInformation(
  33.      IN OUT PRX_CONTEXT RxContext);
  34.  NTSTATUS nfs41_SetFileInformation(
  35.      IN OUT PRX_CONTEXT RxContext);
  36. +NTSTATUS nfs41_SetFileInformationAtCleanup(
  37. +      IN OUT PRX_CONTEXT RxContext);
  38.  
  39.  /* nfs41sys_volinfo.c */
  40.  NTSTATUS marshal_nfs41_volume(
  41. --
  42. 2.45.1

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at