Date: Tue, 21 Sep 2010 07:01:00 +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: <201009210701.o8L71GDd045078@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2010-09-21 07:01:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c
Log:
SVN rev 212953 on 2010-09-21 07:01:00Z by ed
MFC r211598:
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.
Revision Changes Path
1.17.2.2 +4 -1 src/sys/fs/tmpfs/tmpfs.h
1.23.2.2 +71 -37 src/sys/fs/tmpfs/tmpfs_subr.c
1.31.2.2 +41 -2 src/sys/fs/tmpfs/tmpfs_vnops.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009210701.o8L71GDd045078>
