28 Jul, 2012

3 commits


12 Apr, 2012

4 commits


29 Mar, 2012

1 commit

  • Otherwise, we get a warning or error similar to this when building with
    CONFIG_NFSD_V4 disabled:

    ERROR: "nfsd4_cld_block" [fs/nfsd/nfsd.ko] undefined!

    Fix this by wrapping the calls to rpc_pipefs_notifier_register and
    ..._unregister in another function and providing no-op replacements
    when CONFIG_NFSD_V4 is disabled.

    Reported-by: Paul Gortmaker
    Signed-off-by: Jeff Layton
    Signed-off-by: J. Bruce Fields

    Jeff Layton
     

26 Mar, 2012

2 commits

  • In the event that rpc_pipefs isn't mounted when nfsd starts, we
    must register a notifier to handle creating the dentry once it
    is mounted, and to remove the dentry on unmount.

    Signed-off-by: Jeff Layton
    Signed-off-by: J. Bruce Fields

    Jeff Layton
     
  • Eventually, we'll need this when nfsd gets containerized fully. For
    now, create a struct on a per-net-namespace basis that will just hold
    a pointer to the cld_net structure. That struct will hold all of the
    per-net data that we need for the cld tracker.

    Eventually we can add other pernet objects to struct nfsd_net.

    Signed-off-by: Jeff Layton
    Signed-off-by: J. Bruce Fields

    Jeff Layton