diff options
author | kib <kib@FreeBSD.org> | 2010-04-02 14:03:43 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-04-02 14:03:43 +0000 |
commit | dbbce00a3360e9b0d40b149fbf1fda158661af6c (patch) | |
tree | 1e641b019894924314ce60f1e20e06fb1cd7dbec /usr.sbin/ac/ac.c | |
parent | 86c35b90b77323913c46c2542f163e5102676b8c (diff) | |
download | FreeBSD-src-dbbce00a3360e9b0d40b149fbf1fda158661af6c.zip FreeBSD-src-dbbce00a3360e9b0d40b149fbf1fda158661af6c.tar.gz |
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
Diffstat (limited to 'usr.sbin/ac/ac.c')
0 files changed, 0 insertions, 0 deletions