I'm not saying that the fix isn't correct, however, it seems to simple.
Perhaps it is only trying to fix part of a bigger problem. What you
have done seems correct.
Look at CR 4492533
http://monaco.sfbay.sun.com/detail.jsf?cr=4492533
jim
On 02/11/10 15:33, Gordon Ross wrote:
Here's the change:
http://cr.opensolaris.org/~gwr/cr-6925728/
Description
This problem is most easily reproduced when attempting to
execute a file on smbfs(7FS). The observed fault is:
mount -F smbfs //server/share /mnt
cp /usr/bin/cat /mnt/cat
/mnt/cat (Killed)
rm /mnt/cat
/mnt/cat: EBUSY
Evaluation
Observation at the level of VFS calls shows that the
genunix/exec module does VOP_OPEN but no VOP_CLOSE.
This is not a problem for many filesystems that do
nothing in their _open routine, but with smbfs it
causes files to remain "busy" on the SMB server.
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code