]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When tmpfs_write() resets an extended file to its original size after an
authoralc <alc@FreeBSD.org>
Mon, 16 Jan 2012 00:26:49 +0000 (00:26 +0000)
committeralc <alc@FreeBSD.org>
Mon, 16 Jan 2012 00:26:49 +0000 (00:26 +0000)
commit213db2103e6330ef8205522e5abb4dc9481c6c3d
treeead83f2a8c9c0d57d631896299abc8a488aa7e10
parent83920bc18511f0c34df0d3888ba7ebe90c39d3d8
When tmpfs_write() resets an extended file to its original size after an
error, we want tmpfs_reg_resize() to ignore I/O errors and unconditionally
update the file's size.

Reviewed by: kib
MFC after: 3 weeks
sys/fs/tmpfs/tmpfs.h
sys/fs/tmpfs/tmpfs_subr.c
sys/fs/tmpfs/tmpfs_vnops.c