Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/tmpfs



Hello Antti !

It may be related: I am now seeing a tmpfs uvm_fault():

hand copied bt:
uvm_fault()
tmpfs_do_detach()
tmpfs_remove()
VOP_REMOVE()
do_sys_unlink()
syscall()

Frank


Antti Kantee wrote:
Module Name:    src
Committed By:   pooka
Date:           Fri Apr  3 14:47:41 UTC 2009

Modified Files:
        src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
Fix yet another recent crashy bug in tmpfs rename: since the source
dirent is no longer cached in lookup and we do the lookup ourselves
in rename, we are most definitely not allowed to assert that it
matches the source vnode passed as an argument.  In case the source
node does not exist or has been replaced, punt with ENOENT.

Also, nuke some misleading prehistoric comments which haven't been
valid in over a year.

Fixes PR kern/41128 by Nicolas Joly


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index