The NetBSD Project

CVS log for src/sys/ufs/ufs/ufs_rename.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ufs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:45 2014 UTC (3 weeks, 6 days ago) by tls
Branch: tls-maxphys
Changes since 1.5.2.2: +9 -18 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:58 2014 UTC (5 weeks, 1 day ago) by tls
Branch: tls-earlyentropy
Changes since 1.10: +9 -14 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Rebase.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 25 13:45:39 2014 UTC (3 months, 3 weeks ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.10: +9 -14 lines
Diff to previous 1.10 (colored)

ufs_gro_genealogy: use vcache_get() to lookup DOTDOT.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:19 2014 UTC (3 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.4: +8 -12 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:22 2014 UTC (3 months, 4 weeks ago) by rmind
Branch: rmind-smpnet
Changes since 1.8: +4 -8 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 6 10:57:12 2014 UTC (7 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.9: +3 -7 lines
Diff to previous 1.9 (colored)

Move fstrans_start()/fstrans_done() into genfs_insane_rename() to protect
the complete rename operation like we do for all other vnode operations.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 4 19:58:02 2013 UTC (10 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Add 2 XXX: gcc initializations

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:40 2013 UTC (14 months, 3 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.5.2.1: +6 -6 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

resync from head

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 19 17:51:26 2013 UTC (14 months, 3 weeks ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Rename ambiguous macros:
   MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 9 17:57:09 2013 UTC (15 months, 1 week ago) by dholland
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Stick UFS_ in front of these symbols:
   DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:19 2013 UTC (18 months, 2 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

resync with head

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:35 2013 UTC (19 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.2.3: +4 -4 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:18 2013 UTC (19 months, 3 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:23:01 2012 UTC (22 months, 2 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.2: +42 -65 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 4 20:13:47 2012 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.4: +2 -20 lines
Diff to previous 1.4 (colored)

Kill the IN_RENAME in-core inode flag in ufs and ext2fs.

Now that rename works we need not to wave this sort of voodoo at it.

ok dholland

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 4 19:58:57 2012 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fix typo in comment: bp->b_bcount, not bp->b_count.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 4 19:37:36 2012 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.2: +42 -47 lines
Diff to previous 1.2 (colored)

Kill scary message about cross-block directories and fix its cause.

Add a bunch of kasserts to check more stringently that ufs_direnter
did not compact across directory blocks.  Don't bother fetching
subsequent I/O blocks from the directory: ufs_lookup guarantees that
it's not necessary, and the kasserts check this to be sure.

The message fired when we were looking at the start of an I/O block,
not when we crossed from the end of one to the start of another.  I
believe it fired only when tulr->ulr_offset was a multiple of the I/O
block size (fs_bsize), which can happen if ufs_lookup either finds an
entry or finds free space at the start of an I/O block.

If ufs_lookup found an entry, none of this ulr recalculation logic
should kick in -- if tvp != NULL, then tulr->ulr_count is garbage, so
it's not merely unnecessary but wrong (although I suspect harmless in
the end) to read it in ufs_rename_overlap_p in consideration of
whether to recalculate fulr.

Discussed with chuq and dholland.

ok dholland

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:41 2012 UTC (2 years, 3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.2.4.1: +1080 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync to latest -current.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:20 2012 UTC (2 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.1: +1080 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.4.1, Thu May 10 07:57:02 2012 UTC (2 years, 4 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.2: +0 -1080 lines
FILE REMOVED

file ufs_rename.c was added on branch jmcneill-usbmp on 2012-06-02 11:09:41 +0000

Revision 1.2.2.1, Thu May 10 07:57:02 2012 UTC (2 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -1080 lines
FILE REMOVED

file ufs_rename.c was added on branch yamt-pagecache on 2012-05-23 10:08:20 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 10 07:57:02 2012 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Disable scary but probably harmless printf.

Still need to find why this harmless-but-shouldn't-happen case is
happening, but in the mean time, we can stop scaring people with it.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 9 00:21:18 2012 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN

Adapt ffs, lfs, and ext2fs to use genfs_rename.

ok dholland, rmind

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>