Unionfs: release lower resources on successful rmdir
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 25 Nov 2007 20:47:57 +0000 (15:47 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 31 Jan 2012 07:57:59 +0000 (02:57 -0500)
commita92812a11da762f6eaf9df27301039a4aae66109
tree71b43edfc0c9640a991e21b28d684e309ab7f3bd
parent5bdc045069dce72192d72b5d6548a19488e56ed3
Unionfs: release lower resources on successful rmdir

This patch prevents those resources from lingering around until memory
pressure would have forced them out.  The patch also properly handles
directories that have been rmdir'ed which are still some process's cwd.

CC: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c
fs/unionfs/mmap.c
fs/unionfs/unlink.c