CVS commit: src/sbin/fsck_lfs

2018-06-12 Thread Zafer Aydogan
Module Name:src
Committed By:   zafer
Date:   Tue Jun 12 20:12:22 UTC 2018

Modified Files:
src/sbin/fsck_lfs: lfs.c

Log Message:
Remove duplicate assignments.
Fixes PR bin/51512 by Jose Luis Rodriguez Garcia


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sbin/fsck_lfs/lfs.c

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



CVS commit: src/sbin/fsck_lfs

2018-03-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Mar 30 12:56:46 UTC 2018

Modified Files:
src/sbin/fsck_lfs: bufcache.c bufcache.h

Log Message:
PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sbin/fsck_lfs/bufcache.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/fsck_lfs/bufcache.h

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



CVS commit: src/sbin/fsck_lfs

2017-06-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jun 10 08:13:15 UTC 2017

Modified Files:
src/sbin/fsck_lfs: inode.c lfs.c pass6.c segwrite.c

Log Message:
Update inode member i_flag --> i_state to keep up with kernel changes


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sbin/fsck_lfs/inode.c
cvs rdiff -u -r1.72 -r1.73 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.49 -r1.50 src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.45 -r1.46 src/sbin/fsck_lfs/segwrite.c

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



CVS commit: src/sbin/fsck_lfs

2017-06-08 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Fri Jun  9 00:13:09 UTC 2017

Modified Files:
src/sbin/fsck_lfs: vnode.h

Log Message:
this file uses the  macros so it should include
that header itself, rather than relying on getting it indirectly
by including some other header.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/fsck_lfs/vnode.h

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



CVS commit: src/sbin/fsck_lfs

2016-09-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 16 11:13:47 UTC 2016

Modified Files:
src/sbin/fsck_lfs: lfs.c

Log Message:
PR/51478: Jose Luis Rodriguez Garcia: Fix leak mem fsck_lfs/lfs.c


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sbin/fsck_lfs/lfs.c

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



CVS commit: src/sbin/fsck_lfs

2016-08-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug 25 07:43:18 UTC 2016

Modified Files:
src/sbin/fsck_lfs: bufcache.c

Log Message:
PR/51440: Jose Luis Rodriguez Garcia: Use the standard queue.h macro instead
of playing with the TAILQ's entrails.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/fsck_lfs/bufcache.c

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



CVS commit: src/sbin/fsck_lfs

2016-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug 18 08:08:02 UTC 2016

Modified Files:
src/sbin/fsck_lfs: bufcache.c bufcache.h

Log Message:
PR/51422: Jose Luis Rodriguez Garcia: completely remove B_NEEDCOMMIT


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sbin/fsck_lfs/bufcache.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/fsck_lfs/bufcache.h

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



CVS commit: src/sbin/fsck_lfs

2016-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug 18 08:04:28 UTC 2016

Modified Files:
src/sbin/fsck_lfs: bufcache.c

Log Message:
PR/51422: Jose Luis Rodriguez Garcia: Remove unnecessary assignment.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/fsck_lfs/bufcache.c

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



CVS commit: src/sbin/fsck_lfs

2016-07-31 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 31 18:27:27 UTC 2016

Modified Files:
src/sbin/fsck_lfs: bufcache.c

Log Message:
PR 51264 Jose Luis Rodriguez Garcia: lfs userland bufcache rehash is broken


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sbin/fsck_lfs/bufcache.c

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



CVS commit: src/sbin/fsck_lfs

2016-03-19 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 20 04:24:46 UTC 2016

Modified Files:
src/sbin/fsck_lfs: lfs.c

Log Message:
Comment out unused logic. PR 50973


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sbin/fsck_lfs/lfs.c

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



CVS commit: src/sbin/fsck_lfs

2016-03-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 17 18:56:14 UTC 2016

Modified Files:
src/sbin/fsck_lfs: setup.c

Log Message:
PR/50974: David Binderman: Remove unused code.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sbin/fsck_lfs/setup.c

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



CVS commit: src/sbin/fsck_lfs

2016-02-18 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Feb 19 03:53:47 UTC 2016

Modified Files:
src/sbin/fsck_lfs: lfs.c

Log Message:
Need  for true/false.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sbin/fsck_lfs/lfs.c

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



CVS commit: src/sbin/fsck_lfs

2015-10-14 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Oct 15 06:24:55 UTC 2015

Modified Files:
src/sbin/fsck_lfs: lfs.c

Log Message:
Enable lfs64 in fsck_lfs.
(and in everything else that uses this code)


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sbin/fsck_lfs/lfs.c

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



CVS commit: src/sbin/fsck_lfs

2015-10-03 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Oct  3 08:30:02 UTC 2015

Modified Files:
src/sbin/fsck_lfs: fsck.h

Log Message:
Use daddr_t instead of uint32_t for the in-memory copy of the inode
block pointers.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sbin/fsck_lfs/fsck.h

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



CVS commit: src/sbin/fsck_lfs

2015-10-03 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Oct  3 08:30:13 UTC 2015

Modified Files:
src/sbin/fsck_lfs: fsck.h pass1.c

Log Message:
The per-inode state 'id_entryno' is used by pass1 for a block count,
so widen it to 'long long'. pass2 uses it for the number of entries in
a directory (IIUC) which does not need to be wider than int, but for
now let's not try to split into two fields. FUTURE...


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/fsck_lfs/fsck.h
cvs rdiff -u -r1.44 -r1.45 src/sbin/fsck_lfs/pass1.c

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



CVS commit: src/sbin/fsck_lfs

2015-10-03 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Oct  3 08:29:21 UTC 2015

Modified Files:
src/sbin/fsck_lfs: lfs.c pass6.c setup.c

Log Message:
Fix hardwired 32-bit stuff in fsck:
   - compute the maximum file size using LFS_BLKPTRSIZE()
   - use the new IINFO in pass 6 instead of uint32_t pointers
   - use accessors to read and write indirect blocks


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.48 -r1.49 src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.59 -r1.60 src/sbin/fsck_lfs/setup.c

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



CVS commit: src/sbin/fsck_lfs

2015-10-03 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Oct  3 08:29:06 UTC 2015

Modified Files:
src/sbin/fsck_lfs: extern.h fsck.h

Log Message:
Remove a dead data structure.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sbin/fsck_lfs/extern.h
cvs rdiff -u -r1.23 -r1.24 src/sbin/fsck_lfs/fsck.h

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



CVS commit: src/sbin/fsck_lfs

2015-08-31 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Sep  1 06:15:16 UTC 2015

Modified Files:
src/sbin/fsck_lfs: lfs_user.h

Log Message:
Remove ulfs_daddr_t.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sbin/fsck_lfs/lfs_user.h

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



CVS commit: src/sbin/fsck_lfs

2015-08-31 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Sep  1 06:13:34 UTC 2015

Modified Files:
src/sbin/fsck_lfs: lfs.c lfs_user.h pass6.c

Log Message:
Use daddr_t, not ulfs_daddr_t, as the latter's 32 bits wide.
Don't use either for on-disk items.
Part 1 of 3.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/fsck_lfs/lfs_user.h
cvs rdiff -u -r1.45 -r1.46 src/sbin/fsck_lfs/pass6.c

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



CVS commit: src/sbin/fsck_lfs

2015-08-31 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Sep  1 06:13:57 UTC 2015

Modified Files:
src/sbin/fsck_lfs: lfs.c lfs_user.h pass6.c

Log Message:
Use daddr_t, not ulfs_daddr_t, as the latter's 32 bits wide.
Don't use either for on-disk items.
Part 2 of 3.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/fsck_lfs/lfs_user.h
cvs rdiff -u -r1.46 -r1.47 src/sbin/fsck_lfs/pass6.c

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



CVS commit: src/sbin/fsck_lfs

2015-08-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 23 16:00:23 UTC 2015

Modified Files:
src/sbin/fsck_lfs: pass0.c

Log Message:
swap the formats too, not just the args.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sbin/fsck_lfs/pass0.c

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



CVS commit: src/sbin/fsck_lfs

2015-08-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug 23 09:29:46 UTC 2015

Modified Files:
src/sbin/fsck_lfs: pass0.c

Log Message:
Fix reversed arguments to a print. nice and confusing...


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sbin/fsck_lfs/pass0.c

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



CVS commit: src/sbin/fsck_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Aug  3 04:16:10 UTC 2015

Modified Files:
src/sbin/fsck_lfs: pass5.c

Log Message:
Use intmax_t to print daddr_t; from sevan@.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sbin/fsck_lfs/pass5.c

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



CVS commit: src/sbin/fsck_lfs

2015-08-02 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug  2 17:56:24 UTC 2015

Modified Files:
src/sbin/fsck_lfs: setup.c

Log Message:
Fix bug: for format version 1, the superblock "size" field is measured
in blocks instead of frags, so use lfs_blkstofrags to correct it.

This code was instead multiplying by the block size divided by
DEV_BSIZE to get the number of disk blocks rather than the number of
frags. (I gather that originally these were the same, but they're not
necessarily any more.)


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sbin/fsck_lfs/setup.c

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



CVS commit: src/sbin/fsck_lfs

2015-06-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 17 00:18:35 UTC 2015

Modified Files:
src/sbin/fsck_lfs: segwrite.c

Log Message:
add missing ;


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sbin/fsck_lfs/segwrite.c

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



CVS commit: src/sbin/fsck_lfs

2014-07-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 13 02:44:21 UTC 2014

Modified Files:
src/sbin/fsck_lfs: lfs.c lfs_user.h main.c

Log Message:
Revert previous; it doesn't work because all the lfs tools
promiscuously .PATH in each other's source files, and I haven't the
time or patience to deal with it tonight.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.6 -r1.7 src/sbin/fsck_lfs/lfs_user.h
cvs rdiff -u -r1.47 -r1.48 src/sbin/fsck_lfs/main.c

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



CVS commit: src/sbin/fsck_lfs

2014-07-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jul 12 19:48:24 UTC 2014

Modified Files:
src/sbin/fsck_lfs: lfs_user.h

Log Message:
G/C my_vpanic().


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sbin/fsck_lfs/lfs_user.h

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



CVS commit: src/sbin/fsck_lfs

2014-07-12 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jul 12 19:44:00 UTC 2014

Modified Files:
src/sbin/fsck_lfs: lfs.c main.c

Log Message:
Remove pointless function indirection through panic_func(). It was
initialized to one thing, and then set to another right at the top of
main and never changed again.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.46 -r1.47 src/sbin/fsck_lfs/main.c

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



CVS commit: src/sbin/fsck_lfs

2014-03-22 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 23 05:39:32 UTC 2014

Modified Files:
src/sbin/fsck_lfs: inode.c

Log Message:
don't use sprintf


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sbin/fsck_lfs/inode.c

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



CVS commit: src/sbin/fsck_lfs

2013-06-08 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jun  8 23:12:13 UTC 2013

Modified Files:
src/sbin/fsck_lfs: pass6.c

Log Message:
dp->di_u.inumber -> dp->di_inumber

Should have been part of the previous changeset that applied that
change to lfs.h. I'd quite like to know why the test build I ran
didn't trip on this.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sbin/fsck_lfs/pass6.c

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



CVS commit: src/sbin/fsck_lfs

2013-06-05 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun  6 00:52:50 UTC 2013

Modified Files:
src/sbin/fsck_lfs: dir.c extern.h fsck.h fsck_vars.h inode.c lfs.c
lfs_user.h main.c pass0.c pass1.c pass2.c pass3.c pass4.c pass5.c
pass6.c segwrite.c segwrite.h setup.c utilities.c vars.c vnode.c

Log Message:
ufs -> ulfs for fsck_lfs.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sbin/fsck_lfs/dir.c
cvs rdiff -u -r1.9 -r1.10 src/sbin/fsck_lfs/extern.h
cvs rdiff -u -r1.18 -r1.19 src/sbin/fsck_lfs/fsck.h src/sbin/fsck_lfs/pass2.c \
src/sbin/fsck_lfs/pass4.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/fsck_lfs/fsck_vars.h
cvs rdiff -u -r1.43 -r1.44 src/sbin/fsck_lfs/inode.c src/sbin/fsck_lfs/main.c
cvs rdiff -u -r1.36 -r1.37 src/sbin/fsck_lfs/lfs.c
cvs rdiff -u -r1.3 -r1.4 src/sbin/fsck_lfs/lfs_user.h \
src/sbin/fsck_lfs/segwrite.h
cvs rdiff -u -r1.32 -r1.33 src/sbin/fsck_lfs/pass0.c \
src/sbin/fsck_lfs/utilities.c
cvs rdiff -u -r1.31 -r1.32 src/sbin/fsck_lfs/pass1.c
cvs rdiff -u -r1.10 -r1.11 src/sbin/fsck_lfs/pass3.c
cvs rdiff -u -r1.24 -r1.25 src/sbin/fsck_lfs/pass5.c
cvs rdiff -u -r1.25 -r1.26 src/sbin/fsck_lfs/pass6.c
cvs rdiff -u -r1.21 -r1.22 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.39 -r1.40 src/sbin/fsck_lfs/setup.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/fsck_lfs/vars.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/fsck_lfs/vnode.c

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



CVS commit: src/sbin/fsck_lfs

2012-01-05 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Jan  5 16:18:01 UTC 2012

Modified Files:
src/sbin/fsck_lfs: pass6.c

Log Message:
Correct fragment extension calculation in pass6, to avoid putting
negative block counts on inodes during roll-forward.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/fsck_lfs/pass6.c

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



CVS commit: src/sbin/fsck_lfs

2011-08-29 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Aug 29 18:43:20 UTC 2011

Modified Files:
src/sbin/fsck_lfs: setup.c

Log Message:
PR bin/45299: print FBMASK not FFMASK when lfs_fbmask is incorrect.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sbin/fsck_lfs/setup.c

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



CVS commit: src/sbin/fsck_lfs

2011-07-11 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Jul 12 02:46:03 UTC 2011

Modified Files:
src/sbin/fsck_lfs: lfs.c

Log Message:
Don't need to initialize (one of) the elements now in i_crap; nothing in
here touches that material.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sbin/fsck_lfs/lfs.c

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