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>
Fri, 20 Jun 2014 00:41:08 +0000 (20:41 -0400)
commit16d2b8018b160c864225ea022fa5bd6e60fdc64f
tree94ca7ac954412048d1b444e4d20d4d30435e9064
parent54ea3bcf84f0f0e13e1f492749a9071d4b4294a4
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