Date: Fri, 2 Apr 2010 14:03:43 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_default.c Message-ID: <201004021403.o32E3uoO056241@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-04-02 14:03:43 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_default.c
Log:
SVN rev 206094 on 2010-04-02 14:03:43Z by kib
Supply default implementation of VOP_RENAME() that does neccessary
unlocks and unreferences for argument vnodes, as expected by
kern_renameat(9), and returns EOPNOTSUPP. This fixes locks and
reference leaks when rename is attempted on fs that does not
implement rename.
PR: kern/107439
Based on submission by: Mikolaj Golub <to.my.trociny gmail com>
Tested by: Mikolaj Golub
MFC after: 1 week
Revision Changes Path
1.159 +16 -0 src/sys/kern/vfs_default.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004021403.o32E3uoO056241>
