summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gssd.h
diff options
context:
space:
mode:
authorDavid Hardeman <david@hardeman.nu>2015-01-21 16:38:15 -0500
committerSteve Dickson <steved@redhat.com>2015-01-23 14:19:09 -0500
commit5320b4dc5c307c0c864474cec90cb6a2cae30eb0 (patch)
tree16e737100ee74906204c27b7025268a31a90aa5e /utils/gssd/gssd.h
parent8cec94be9a50bafc184a1c95913308d412f922ac (diff)
downloadnfs-utils-5320b4dc5c307c0c864474cec90cb6a2cae30eb0.tar.gz
nfs-utils-5320b4dc5c307c0c864474cec90cb6a2cae30eb0.tar.xz
nfs-utils-5320b4dc5c307c0c864474cec90cb6a2cae30eb0.zip
gssd - simplify topdirs path
By chdir():ing to the root of the rpc_pipefs dir and making paths relative from there (gssd already keeps a number of files open in rpc_pipefs so chdir doesn't suddenly make it impossible to umount rpc_pipefs because of this patch). Signed-off-by: David Hardeman <david@hardeman.nu> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.h')
-rw-r--r--utils/gssd/gssd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/gssd/gssd.h b/utils/gssd/gssd.h
index 3320d5e..91be83b 100644
--- a/utils/gssd/gssd.h
+++ b/utils/gssd/gssd.h
@@ -89,9 +89,9 @@ struct clnt_info {
TAILQ_HEAD(topdirs_list_head, topdirs_info) topdirs_list;
struct topdirs_info {
- TAILQ_ENTRY(topdirs_info) list;
- char *dirname;
- int fd;
+ TAILQ_ENTRY(topdirs_info) list;
+ int fd;
+ char dirname[];
};
void init_client_list(void);