From d71fcabaa6bc42e82d83060da49abff2b41ee272 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Oct 1999 18:44:40 +0000 Subject: Added call to freenod to let each filesystem free its own internal node used to manage file access. --- cpukit/libcsupport/src/symlink.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/symlink.c') diff --git a/cpukit/libcsupport/src/symlink.c b/cpukit/libcsupport/src/symlink.c index ca9673f51b..b5c6013b07 100644 --- a/cpukit/libcsupport/src/symlink.c +++ b/cpukit/libcsupport/src/symlink.c @@ -29,6 +29,11 @@ int symlink( if ( result != 0 ) return -1; - return (*loc.ops->symlink)( &loc, actualpath, name_start); + result = (*loc.ops->symlink)( &loc, actualpath, name_start); + + if ( loc.ops->freenod ) + (*loc.ops->freenod)( &loc ); + + return result; } -- cgit v1.2.3