Bill Paul 1b4a7d506f Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen
if you do:

% cd /nfsdir
% mkdir -p foo/foo
% mv foo/foo .

nfs_sillyrename() self-destructs if you try to sillyrename a directory,
however nfs_rename() can be coerced into doing just that by the above
sequence of commands. To avoid this, nfs_rename() now checks that
v_type of the 'destination' vnode != VDIR before attempting the
sillyrename. The server correctly handles this particular situation
by returning ENOTEMPTY on the rename() attempt.

I asked if this was the correct fix for this on -hackers but nobody
ever answered.

This is a 2.2 candidate.
1996-12-31 07:10:19 +00:00
1996-12-22 23:17:39 +00:00
1996-12-26 21:51:09 +00:00
1996-11-11 14:18:40 +00:00
1996-11-07 14:42:57 +00:00
1996-12-30 22:28:51 +00:00
1996-12-30 22:28:51 +00:00
1996-12-20 08:18:47 +00:00
Description
freebsd kernel with SKQ
2 GiB
Languages
C 63.3%
C++ 23.3%
Roff 5.1%
Shell 2.9%
Makefile 1.5%
Other 3.4%