• Benjamin Coddington's avatar
    NFS: add superblock sysfs entries · 1c725118
    Benjamin Coddington authored
    Create a sysfs directory for each mount that corresponds to the mount's
    nfs_server struct.  As the mount is being constructed, use the name
    "server-n", but rename it to the "MAJOR:MINOR" of the mount after assigning
    a device_id. The rename approach allows us to populate the mount's directory
    with links to the various rpc_client objects during the mount's
    construction.  The naming convention (MAJOR:MINOR) can be used to reference
    a particular NFS mount's sysfs tree.
    Signed-off-by: default avatarBenjamin Coddington <bcodding@redhat.com>
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
    1c725118
super.c 37.1 KB