Date: Sun, 22 Aug 2010 05:36:06 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c Message-ID: <201008220536.o7M5aJON049301@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2010-08-22 05:36:06 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c Log: SVN rev 211598 on 2010-08-22 05:36:06Z by ed Add support for whiteouts on tmpfs. Right now unionfs only allows filesystems to be mounted on top of another if it supports whiteouts. Even though I have sent a patch to daichi@ to let unionfs work without it, we'd better also add support for whiteouts to tmpfs. This patch implements .vop_whiteout and makes necessary changes to lookup() and readdir() to take them into account. We must also make sure that when adding or removing a file, we honour the componentname's DOWHITEOUT and ISWHITEOUT, to prevent duplicate filenames. MFC after: 1 month Revision Changes Path 1.20 +4 -1 src/sys/fs/tmpfs/tmpfs.h 1.27 +71 -37 src/sys/fs/tmpfs/tmpfs_subr.c 1.41 +41 -2 src/sys/fs/tmpfs/tmpfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008220536.o7M5aJON049301>