pid_t pid, my_pid;
uid_t uid;
+ if ( (ino_head == NULL) && (dev_head == NULL) )
+ return;
+
if ((topproc_dir = opendir("/proc")) == NULL) {
fprintf(stderr, _("Cannot open /proc directory: %s\n"),
strerror(errno));
char *find_space;
struct stat st;
+ if ( (ino_head == NULL) && (dev_head == NULL) )
+ return;
+
+
if ((fp = fopen(KNFSD_EXPORTS, "r")) == NULL) {
#ifdef DEBUG
printf("Cannot open %s\n", KNFSD_EXPORTS);
char *find_space;
struct stat st;
+ if ( (ino_head == NULL) && (dev_head == NULL) )
+ return;
+
+
if ((fp = fopen(PROC_MOUNTS, "r")) == NULL) {
fprintf(stderr, "Cannot open %s\n", PROC_MOUNTS);
return;
char *find_space;
struct stat st;
+ if ( (ino_head == NULL) && (dev_head == NULL) )
+ return;
+
if ((fp = fopen(PROC_SWAPS, "r")) == NULL) {
/*fprintf(stderr, "Cannot open %s\n", PROC_SWAPS); */
return;