From a6883c4eb931cdca4b9d07ee054ae4ad54dbdf76 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Oct 1999 20:22:27 +0000 Subject: Spacing. --- c/src/exec/libfs/src/imfs/imfs_rmnod.c | 1 + c/src/lib/libc/imfs_rmnod.c | 1 + c/src/libfs/src/imfs/imfs_rmnod.c | 1 + cpukit/libfs/src/imfs/imfs_rmnod.c | 1 + 4 files changed, 4 insertions(+) diff --git a/c/src/exec/libfs/src/imfs/imfs_rmnod.c b/c/src/exec/libfs/src/imfs/imfs_rmnod.c index f651622de4..3768b9543d 100644 --- a/c/src/exec/libfs/src/imfs/imfs_rmnod.c +++ b/c/src/exec/libfs/src/imfs/imfs_rmnod.c @@ -55,6 +55,7 @@ int IMFS_rmnod( /* * Take the node out of the parent's chain that contains this node */ + if ( the_jnode->Parent != NULL ) { Chain_Extract( (Chain_Node *) the_jnode ); the_jnode->Parent = NULL; diff --git a/c/src/lib/libc/imfs_rmnod.c b/c/src/lib/libc/imfs_rmnod.c index f651622de4..3768b9543d 100644 --- a/c/src/lib/libc/imfs_rmnod.c +++ b/c/src/lib/libc/imfs_rmnod.c @@ -55,6 +55,7 @@ int IMFS_rmnod( /* * Take the node out of the parent's chain that contains this node */ + if ( the_jnode->Parent != NULL ) { Chain_Extract( (Chain_Node *) the_jnode ); the_jnode->Parent = NULL; diff --git a/c/src/libfs/src/imfs/imfs_rmnod.c b/c/src/libfs/src/imfs/imfs_rmnod.c index f651622de4..3768b9543d 100644 --- a/c/src/libfs/src/imfs/imfs_rmnod.c +++ b/c/src/libfs/src/imfs/imfs_rmnod.c @@ -55,6 +55,7 @@ int IMFS_rmnod( /* * Take the node out of the parent's chain that contains this node */ + if ( the_jnode->Parent != NULL ) { Chain_Extract( (Chain_Node *) the_jnode ); the_jnode->Parent = NULL; diff --git a/cpukit/libfs/src/imfs/imfs_rmnod.c b/cpukit/libfs/src/imfs/imfs_rmnod.c index f651622de4..3768b9543d 100644 --- a/cpukit/libfs/src/imfs/imfs_rmnod.c +++ b/cpukit/libfs/src/imfs/imfs_rmnod.c @@ -55,6 +55,7 @@ int IMFS_rmnod( /* * Take the node out of the parent's chain that contains this node */ + if ( the_jnode->Parent != NULL ) { Chain_Extract( (Chain_Node *) the_jnode ); the_jnode->Parent = NULL; -- cgit v1.2.3