From: Ben Gras Date: Wed, 27 Jul 2005 16:04:26 +0000 (+0000) Subject: Added dup_inode to fchdir() call. Still not sure if it is correct now. X-Git-Tag: v3.1.0~505 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.named.html?a=commitdiff_plain;h=3292badc37730fae440beefa2312e7b5b3ccbeb1;p=minix.git Added dup_inode to fchdir() call. Still not sure if it is correct now. --- diff --git a/servers/fs/stadir.c b/servers/fs/stadir.c index dbc2f6d14..5e804f40c 100644 --- a/servers/fs/stadir.c +++ b/servers/fs/stadir.c @@ -34,7 +34,7 @@ PUBLIC int do_fchdir() /* Is the file descriptor valid? */ if ( (rfilp = get_filp(m_in.fd)) == NIL_FILP) return(err_code); - + dup_inode(rfilp->filp_ino); return change_into(&fp->fp_workdir, rfilp->filp_ino); }