CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue Apr 14 12:47:44 UTC 2020 Modified Files: src/sys/fs/udf: udf_vfsops.c Log Message: Move comment related to the sysctl_createv() in SYSCTL_SETUP() from the old place to the new place too. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue Apr 14 11:45:43 UTC 2020 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: fix debug print flag To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Mon Apr 6 14:31:06 UTC 2020 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: udf_get_node(): fix typo and honor "lktype" argument. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Aug 9 20:30:26 UTC 2018 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Fix length calculation To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Aug 9 13:49:30 UTC 2018 Modified Files: src/sys/fs/udf: ecma167-udf.h Log Message: Sync with UDFclient To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/fs/udf/ecma167-udf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: kamil Date: Wed Jul 25 19:56:56 UTC 2018 Modified Files: src/sys/fs/udf: ecma167-udf.h Log Message: Avoid undefined behavior in ecma167-udf.h Define the UDF_EXT_* symbols as unsigned values. This prevents undefined behavior of altering the signedness bit in a part of them. Swap the remaining symbols to unsigned values to keep the consistency. Required by GCC when building with Undefined Behavior Sanitizer. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/fs/udf/ecma167-udf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 25 11:09:22 UTC 2018 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Enhance logical volume integrity descriptor handling and provide bug-compatibility for Linux mkudffs 1.3 images. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Sat Jun 24 12:13:16 UTC 2017 Modified Files: src/sys/fs/udf: udf_vfsops.c Log Message: No need to call vflush from failing udf_mount(). If the system nodes really have to disappear we should change vrele() to vrecycle() here. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Wed Jan 4 15:53:14 UTC 2017 Modified Files: src/sys/fs/udf: udf_allocation.c Log Message: PR/51777: David Binderman: Remove unused computation To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/fs/udf/udf_allocation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue May 24 09:55:57 UTC 2016 Modified Files: src/sys/fs/udf: udf.h udf_readwrite.c udf_strat_bootstrap.c udf_strat_direct.c udf_strat_rmw.c udf_strat_sequential.c udf_subr.c udf_subr.h Log Message: Cleanup VAT writout. To prevent issues with the sequential writing strategy trying to write on blocks that are lost due to the synchronisation, don't just bluntly do synchronize device caches, but split out on strategies. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/fs/udf/udf.h cvs rdiff -u -r1.11 -r1.12 src/sys/fs/udf/udf_readwrite.c cvs rdiff -u -r1.4 -r1.5 src/sys/fs/udf/udf_strat_bootstrap.c cvs rdiff -u -r1.13 -r1.14 src/sys/fs/udf/udf_strat_direct.c cvs rdiff -u -r1.27 -r1.28 src/sys/fs/udf/udf_strat_rmw.c cvs rdiff -u -r1.14 -r1.15 src/sys/fs/udf/udf_strat_sequential.c cvs rdiff -u -r1.137 -r1.138 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.19 -r1.20 src/sys/fs/udf/udf_subr.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue May 10 15:23:39 UTC 2016 Modified Files: src/sys/fs/udf: udf.h udf_subr.c Log Message: Rework VAT searching on recordable media. It is now a lot more resilliant to errors and it allows for VAT searching on crashed writeouts. While here, make sure the node pointer is always initialised in udf_get_node(). To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/fs/udf/udf.h cvs rdiff -u -r1.136 -r1.137 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Fri Jan 29 10:42:30 UTC 2016 Modified Files: src/sys/fs/udf: udf_vfsops.c Log Message: It is meaningless to check the root node if there was an error. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jan 27 00:06:49 UTC 2016 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Fix filename creation and deleting with illegal file names. UDF has a machanism for it but it allowed to create a file with a name it considered illegal that then couldn't be deleted with the same name. Fixes PR kern/50608. When confirmed, it can be closed. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: dholland Date: Sat Dec 19 03:16:09 UTC 2015 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Improve misleading variable name. Related to PR 50571. XXX: also there should be real bounds-check logic in here. XXX: if the on-disk data structure contains rubbish this code will XXX: leak or trample arbitrary kernel memory. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sat Dec 19 01:51:42 UTC 2015 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: add missing , To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sat Dec 19 01:18:00 UTC 2015 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: PR/50571: David Binderman: src/sys/fs/udf/udf_subr.c:6465: obvious performance tidyup To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Tue Oct 6 08:57:34 UTC 2015 Modified Files: src/sys/fs/udf: udf_strat_direct.c udf_strat_rmw.c udf_strat_sequential.c Log Message: Remove dubious vhold()/holdrele() from write_logvol_dscr strategies. The udf_node already gets locked with UDF_LOCK_NODE() and udf_reclaim() will wait for the lock to clear. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/fs/udf/udf_strat_direct.c cvs rdiff -u -r1.26 -r1.27 src/sys/fs/udf/udf_strat_rmw.c cvs rdiff -u -r1.13 -r1.14 src/sys/fs/udf/udf_strat_sequential.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sat Sep 12 19:50:08 UTC 2015 Modified Files: src/sys/fs/udf: udf_strat_rmw.c Log Message: diagused some variables. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/fs/udf/udf_strat_rmw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sat Sep 12 19:33:03 UTC 2015 Modified Files: src/sys/fs/udf: udf_strat_rmw.c Log Message: remove identity assignment, found by brainy. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/fs/udf/udf_strat_rmw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Mon Aug 24 08:31:56 UTC 2015 Modified Files: src/sys/fs/udf: udf.h udf_subr.c udf_vfsops.c Log Message: Use vfs_vnode_iterator for udf_do_sync. - Build rb_tree to get an ordered list of nodes, sync them and clean the tree. - Stop abusing mntvnode_lock to serialize udf_do_sync, use new mutex ump->sync_lock instead. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/fs/udf/udf.h cvs rdiff -u -r1.131 -r1.132 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.70 -r1.71 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Mon Aug 24 08:30:52 UTC 2015 Modified Files: src/sys/fs/udf: udf_vfsops.c Log Message: Use vfs_vnode_iterator for udf_unmount_sanity_check. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Mon Aug 24 08:30:17 UTC 2015 Modified Files: src/sys/fs/udf: udf.h udf_allocation.c udf_subr.c udf_vfsops.c Log Message: Remove dirtynodes_cv, it is only used for timed waits without any signals. Replace the cv_timedwait with kpause. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/fs/udf/udf.h cvs rdiff -u -r1.37 -r1.38 src/sys/fs/udf/udf_allocation.c cvs rdiff -u -r1.130 -r1.131 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.68 -r1.69 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Mon Apr 6 08:39:23 UTC 2015 Modified Files: src/sys/fs/udf: udf.h udf_subr.c udf_vfsops.c udf_vnops.c Log Message: Change udf to vcache, keyed on udf_node->loc.loc. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/fs/udf/udf.h cvs rdiff -u -r1.128 -r1.129 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.67 -r1.68 src/sys/fs/udf/udf_vfsops.c cvs rdiff -u -r1.99 -r1.100 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Mon Apr 6 08:38:25 UTC 2015 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Move the removal of unlinked nodes from udf_inactive() to udf_reclaim(). To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sat Feb 7 04:18:03 UTC 2015 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: fix udf_node leak. Reported by: http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4 To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: martin Date: Wed Jan 28 14:00:58 UTC 2015 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: When udf_symlink() fails, do not explicitly call udf_delete_node(), as vrele() called next will do that again - avoids a double free of the bitmap, leading to a KASSERT failure (or worse in real life) in the udf_symlink_long in the fs/vfs::t_vnops test. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sun Jan 4 14:23:37 UTC 2015 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Add missing vrele() as found by the testsuite. Thanks Jurgen Hannken for the patch. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Dec 3 21:37:55 UTC 2014 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Explicitly delete the failing node; it would be killed with the unlink too but explicitly deleting it is better than just setting the file size to zero. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Dec 3 21:34:55 UTC 2014 Modified Files: src/sys/fs/udf: udf_allocation.c Log Message: Relax the KASSERT since an equal size is no issue To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/fs/udf/udf_allocation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: riz Date: Mon Nov 10 19:44:08 UTC 2014 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: Revert previous, it is actually needed. (builds are failing) To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Sep 17 21:18:43 UTC 2014 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Fix bug introduced in last patch To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Sep 17 19:47:05 UTC 2014 Modified Files: src/sys/fs/udf: udf.h udf_subr.c Log Message: As pointed out by wiz@ prevent a possible attack or corruption that results in an endless loop of indirect descriptors being processed. The number of indirect descriptors followed is now maximized. While here, also fix a use-after-free bug! To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/fs/udf/udf.h cvs rdiff -u -r1.125 -r1.126 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue Jul 29 15:48:22 UTC 2014 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Posix requires the va_size of a symlink to be pathlength for symbolic links. This fixes yet another atf case. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue Jul 29 15:36:43 UTC 2014 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Fix debug printout of udf_write_metadata_partition_spacetable(), it referred to an old variable. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue Jul 29 11:10:12 UTC 2014 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Access time should only be set on accessing the data or messing with the contents, not on inode access rights and ownership changes. Should address PR kern/49033 for UDF. Test results now come clean for bugs related to this issue in the ATF. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sun Mar 23 09:34:42 UTC 2014 Modified Files: src/sys/fs/udf: udf_strat_sequential.c udf_subr.c udf_vnops.c Log Message: fix unused To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/fs/udf/udf_strat_sequential.c cvs rdiff -u -r1.123 -r1.124 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.90 -r1.91 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: riz Date: Thu Nov 21 23:42:09 UTC 2013 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Don't create a variable just to assert() on it - assert on the thing the variable got assigned. To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Fri Oct 18 19:56:55 UTC 2013 Modified Files: src/sys/fs/udf: udf.h udf_allocation.c udf_strat_direct.c udf_strat_rmw.c udf_strat_sequential.c udf_subr.c udf_vnops.c Log Message: fix unused variable warnings To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/fs/udf/udf.h cvs rdiff -u -r1.34 -r1.35 src/sys/fs/udf/udf_allocation.c cvs rdiff -u -r1.10 -r1.11 src/sys/fs/udf/udf_strat_direct.c cvs rdiff -u -r1.22 -r1.23 src/sys/fs/udf/udf_strat_rmw.c cvs rdiff -u -r1.11 -r1.12 src/sys/fs/udf/udf_strat_sequential.c cvs rdiff -u -r1.120 -r1.121 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.86 -r1.87 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Fri Oct 4 08:35:08 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Remove a bogus vrecycle() from udf_inactive(). Vrecycle() works on inactive vnodes while VOP_INACTIVE() should never be called on an inactive vnode. Ok: Reinoud Zandijk To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Fri Aug 9 20:13:18 UTC 2013 Modified Files: src/sys/fs/udf: udf_allocation.c Log Message: Fix 32 bit issue in main file read-in function. On both 32 bit and 64 bit hosts a missing cast would result in `garbage' after the 4Gbyte limit. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/fs/udf/udf_allocation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: joerg Date: Mon Aug 5 17:02:54 UTC 2013 Modified Files: src/sys/fs/udf: udf_osta.c Log Message: Support tools build. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/fs/udf/udf_osta.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Tue Jul 16 10:49:36 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: Remove udf_node * as state variables and add the loop invariants UFS and tmpfs carry to make it easier to debug. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Mon Jul 15 14:40:21 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: First step in rewriting the genealogy case To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sat Jul 13 19:42:26 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: udf_gro_genealogy() : source and destination should never be the same on call, KASSERT it instead of checking for it. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sat Jul 13 19:40:14 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: vp is used, so don't (void) it To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sat Jul 13 19:39:02 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: Rework udf_gro_rename() to be more linear instead of nesting if/else branching. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Fri Jul 12 16:14:10 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: In case there is trouble determining the number of entries in a directory, return its not empty to be on the safe side. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Jul 11 19:41:19 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: Resort to the easiest way to check if a directory is deleted: the flag that tells that there is no FID (dirent) pointing to it anymore. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Jul 11 15:43:13 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: Small cleanup To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 10 19:14:07 UTC 2013 Modified Files: src/sys/fs/udf: udf_rename.c Log Message: Remove the dirent checks and references. UDF doesn't need/use them on rename so just to make sure, we remove all references/checks to not trigger bugs thats are not really ours. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/fs/udf/udf_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 10 15:10:56 UTC 2013 Modified Files: src/sys/fs/udf: files.udf udf_vnops.c Added Files: src/sys/fs/udf: udf_rename.c Log Message: Implement udf_rename() using the new genfs_rename() framework. Fixes PR kern/47986 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/fs/udf/files.udf cvs rdiff -u -r0 -r1.1 src/sys/fs/udf/udf_rename.c cvs rdiff -u -r1.84 -r1.85 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Mon Jul 8 08:21:13 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Clarify the sticky-bit check To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sun Jul 7 20:16:22 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Pull forward the node creation returned from the lookup call. Its vnode is used in the access determination on delete/rename of TXT files. Thanks for joerg@ and clang for detecting this! To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sun Jul 7 19:49:44 UTC 2013 Modified Files: src/sys/fs/udf: udf_subr.c udf_subr.h udf_vnops.c Log Message: Implement a real empty-directory checking for rmdir(). Should should fix the other part of PR kern/47987 Solves tests/vfs/t_vnops udf_dir_notempty To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.18 -r1.19 src/sys/fs/udf/udf_subr.h cvs rdiff -u -r1.81 -r1.82 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Fri Jul 5 20:40:20 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Fixes chflags. They were silently rejected before but the VFS standard demands it complains with EOPNOTSUPP. Fixes chflags test case. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Fri Jul 5 20:04:57 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Provide additional checks to udf_lookup and restructure it a bit. Should fix PR 47988 To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 3 15:39:23 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Remove spurious empty line To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 3 14:35:29 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: On removing a directory make sure the leaf directory doesn't have a valid '..' link anymore. In a corner case this leaf can be held by a process as a CWD. It is guaranteed to be empty at this stage so we trunc it removing the only valid FID, being the '..' entry. Solves part of PR kern/47987 Solves tests/vfs/t_vnops udf_dir_rmdirdotdot To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 3 12:55:34 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Typo in debug message: we are removing a directory and not a file. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Jul 3 11:50:59 UTC 2013 Modified Files: src/sys/fs/udf: udf_allocation.c Log Message: On growing a node that was recorded inside the (E)FE, don't forget to set the size of the node to the NEW size. This was reported by the `t_io udf_shrinkfile' testcase. Fixes PR kern/47985 To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/fs/udf/udf_allocation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Jun 27 09:38:08 UTC 2013 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: Since UDF volumes are always mounted async, the simple UBC purging with VOP_PUTPAGES() was never triggered resulting in far too much data in the UBC that needed to be written out. This could result in instability on small memory machines. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Sun Nov 13 23:08:47 UTC 2011 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: use getdisksize() To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: hannken Date: Tue Oct 18 20:20:30 UTC 2011 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: VOP_GETATTR() needs a shared lock at least. While here fix a typo (fvp -> tvp). To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Tue Sep 27 01:33:30 UTC 2011 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: return UDF_MAXNAMLEN instead of NAME_MAX To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/fs/udf/udf_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: christos Date: Tue Sep 27 01:13:16 UTC 2011 Modified Files: src/sys/fs/udf: udf.h udf_subr.c udf_vfsops.c Log Message: - rename UDF_MAX_NAMELEN -> UDF_MAXNAMLEN - use NAME_MAX instead of MAXNAMLEN To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/fs/udf/udf.h cvs rdiff -u -r1.116 -r1.117 src/sys/fs/udf/udf_subr.c cvs rdiff -u -r1.60 -r1.61 src/sys/fs/udf/udf_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Jul 7 17:45:38 UTC 2011 Modified Files: src/sys/fs/udf: ecma167-udf.h Log Message: English checked and corrected, courtisy of Igor Sobrado as noted in OpenBSD that has a copy of this file. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/fs/udf/ecma167-udf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sat Jan 22 18:02:18 UTC 2011 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: A not rewritable disc can be pseudo-overwritable. A pseudo-overwritable disc can overwrite its logical volume integrity sequence so no need to make it append-only for this class of discs. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Sat Jan 22 14:51:43 UTC 2011 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Lookup the physical partition backing up the logical one when searching for the metadata partition overlap for BD-R. Fixes a kernel panic on mounting a BD-R formatted with UDF 2.60 To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Fri Jan 21 20:36:53 UTC 2011 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Split out the raw to indexed partitioning code protecting against roque implementations that use `ramdom' numbers for the physical partitions breaking lots of implementations. Known curlpit is MicroSoft Windows 7. Not only the partition mappings need to be protected against this but also the metadata partition files. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Fri Jan 14 09:09:18 UTC 2011 Modified Files: src/sys/fs/udf: udf_allocation.c Log Message: Metadata partition (v2.50+) bugfix commit : * fix copying of the extents of the metadata node to the metadatamirror node; it was not copying all extents. * fix truncing metadata partition: * fix endian conversions * fix information length calculation so its truncated to the right length! * allow for setting maximum extent length in extent merging. This is needed since extents in the metadata partition files are only to be in allocation unit sizes. * adjust grow and shrink node to set the granularity of the maximum length of an extent when encountering a metadatafile or metadatamirror file. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/fs/udf/udf_allocation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Thu Jan 13 13:13:32 UTC 2011 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Fix the case in where a file with a latin1 file name was created. It was then erronously entered as thelatin1 file name in the dirhash whereas the matching routing assumes both UTF-8. This would result in a file being created but not stat-able since the dirhash couldn't find the entry unless it was remounted. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: drochner Date: Mon Jan 3 13:12:40 UTC 2011 Modified Files: src/sys/fs/udf: udf_strat_sequential.c Log Message: destroy mutex/cv before freeing the struct holding them, fixes LOCKDEBUG panic To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/fs/udf/udf_strat_sequential.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Dec 22 12:38:43 UTC 2010 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: Running with DEBUG again revealed locking errors previously undetected. The VAT writeout was done locked while marked locked as were the readin and writeout of the metadata partition space table. While here, also protect the (vp) argument of the UDF_SET_SYSTEMFILE() macro. Tested on UDF 1.50 sequential, UDF 2.01 RW and UDF 2.50 metadata RW meda. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/fs/udf/udf_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/udf
Module Name:src Committed By: reinoud Date: Wed Dec 22 12:15:02 UTC 2010 Modified Files: src/sys/fs/udf: udf_allocation.c Log Message: Growing the metadata partition is not yet implemented. Be so kind to report this as unimplemented when the debug flag asks for it! To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/fs/udf/udf_allocation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.