The NetBSD Project

CVS log for src/sys/nfs/nfs_srvsubs.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 27 17:38:52 2022 UTC (9 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.15: +8 -3 lines
Diff to previous 1.15 (colored)

As VOP_GETATTR() needs a shared lock at least move the preopattr lookup
inside nfs_namei() where we may lock the start directory without violating
the lock order.

Revision 1.14.38.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:59 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Merge changes from current as of 20200406

Revision 1.14.44.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:36 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:09 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode.  Matches
FreeBSD.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:50 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.12.2.1: +3 -3 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with (a bit old) head

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:49 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 5 19:06:27 2012 UTC (10 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Rename the new ni_startdir (the slot used to hold the starting point
for openat() and friends) to ni_atdir to avoid confusion with a
previously existing (and, alas, still documented) ni_startdir field
that meant something else entirely.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:51 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 13 17:46:50 2012 UTC (10 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Replace hack implementation of NDAT() for "nameiat" with a proper one.
(This change requires a kernel bump.)

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 27 01:05:08 2011 UTC (11 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

use NFS_MAXPATHLEN instead of MAXPATHLEN

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 8 16:04:07 2011 UTC (11 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

nfs_namei() should not return a non-null path buffer except on success,
even though the callers are apparently prepared to cope.

Fixes last tidyup part of PR 44625.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:03 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.8: +3 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:15 2011 UTC (11 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.4.2: +1 -5 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 11 01:33:05 2011 UTC (11 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.9: +2 -7 lines
Diff to previous 1.9 (colored)

Clean up. Move some more code across from nfsd's private entry points.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 19 01:34:24 2011 UTC (11 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Fix memory leak introduced with the struct pathbuf changes. Hi, me.
Closes PR 44625.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:04 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.4.1: +26 -13 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 30 10:30:03 2010 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.7: +25 -12 lines
Diff to previous 1.7 (colored)

Abolish struct componentname's cn_pnbuf. Use the path buffer in the
pathbuf object passed to namei as work space instead. (For now a pnbuf
pointer appears in struct nameidata, to support certain unclean things
that haven't been fixed yet, but it will be going away in the future.)

This removes the need for the SAVENAME and HASBUF namei flags.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:46 2010 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:51 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:59 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.3: +3 -3 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:00 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:17 2010 UTC (12 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:31 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.2: +7 -102 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 27 17:23:54 2009 UTC (13 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.4: +7 -102 lines
Diff to previous 1.4 (colored)

Move a big wodge of symlink-following code from nfsd to inside
lookup_for_nfsd(). This code is, or at least should be, the same as
the regular symlink-following code plus an extra flag nfsd needs.

The two lots of code can/will be merged in the future.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 27 17:19:07 2009 UTC (13 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Rename lookup() to lookup_for_nfsd(), to make it clear just whose
private backdoor entry point this is.

Also, clone the lookup_for_nfsd() entry point as
lookup_for_nfsd_index(), for use by a different call site in nfsd that
does different unclean things with nameidata.

Revision 1.1.10.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:51 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1: +9 -15 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:22 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.1: +514 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.3.2.1, Mon May 4 06:05:19 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3: +0 -514 lines
FILE REMOVED

file nfs_srvsubs.c was added on branch yamt-nfs-mp on 2009-05-04 08:14:22 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 4 06:05:19 2009 UTC (13 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, jymxensuspend-base, jym-xensuspend-base
Branch point for: yamt-nfs-mp
Changes since 1.2: +8 -4 lines
Diff to previous 1.2 (colored)

when freeing cn_pnbuf, make it NULL if DIAGNOSTIC.

Revision 1.1.8.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:45 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.8.2: +3 -13 lines
Diff to previous 1.1.8.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:25 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.1: +3 -13 lines
Diff to previous 1.1 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:20 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.8.1: +520 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:34 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.1: +520 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:28 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.1.4.1: +520 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.1.8.1, Wed Nov 19 18:36:09 2008 UTC (14 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -520 lines
FILE REMOVED

file nfs_srvsubs.c was added on branch nick-hppapmap on 2009-01-19 13:20:20 +0000

Revision 1.1.6.1, Wed Nov 19 18:36:09 2008 UTC (14 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +0 -520 lines
FILE REMOVED

file nfs_srvsubs.c was added on branch mjf-devfs2 on 2009-01-17 13:29:34 +0000

Revision 1.1.4.1, Wed Nov 19 18:36:09 2008 UTC (14 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.1: +0 -520 lines
FILE REMOVED

file nfs_srvsubs.c was added on branch haad-dm on 2008-12-13 01:15:28 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:09 2008 UTC (14 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, mjf-devfs2, jym-xensuspend, haad-dm

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

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>