]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r211598:
authored <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Sep 2010 07:01:00 +0000 (07:01 +0000)
committered <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Sep 2010 07:01:00 +0000 (07:01 +0000)
commit93599d87751f0370db4f771d406fd779e7a26244
tree9d8892d5323b58364d9d6041914e83cdfd06f39d
parent618cc1c95b6dd925cd773a0cde276e9171d83052
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212953 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/tmpfs/tmpfs.h
sys/fs/tmpfs/tmpfs_subr.c
sys/fs/tmpfs/tmpfs_vnops.c