freebsd-dev/sys/ufs
Peter Wemm b587fd008d Don't panic if a VOP_READ() gets through on a short link, Just Do It
(because we can :-).  This means you can open a link file (or pseudo-file
in the case of short links where the data is stored in the inode rather
than disk blocks) and read the contents.
However, trap any writes from the user as it's difficult to do the right
thing in all cases.  A link may be short and the user may be trying to
extend it beyond the limit and so on.  Although.. being able to re-target
a symlink without deleting it first might have been nice.
This stuff is a bit perverse since symlink() and readlink() calls can
end up actually being implemented as read/write vnode ops.

Reviewed by: phk
1998-04-06 17:44:40 +00:00
..
ffs Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
mfs The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
ufs Don't panic if a VOP_READ() gets through on a short link, Just Do It 1998-04-06 17:44:40 +00:00