uio_td might be NULL, do not indirect through uio_td to get to td_proc
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 14 Apr 2004 01:24:24 +0000 (01:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 14 Apr 2004 01:24:24 +0000 (01:24 +0000)
commit049d6e6ded3f1cfd704c3a3a116caf59d4fccf81
tree498baeb542beba89169e66fdce8695742dd9ccb0
parentddf89ac845f20246135fa2af4c12c9a720f23563
uio_td might be NULL, do not indirect through uio_td to get to td_proc
unless it is non-NULL.  Note that td_proc in msdosfs_write() is used only
to check resource limits.  Resource limits will not be checked if p is
NULL (which is ok for now).
sys/vfs/msdosfs/msdosfs_vnops.c