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, 22 Nov 2013 23:54:49 +0000 (18:54 -0500)
commit589eab7387c8be4809855534cb5b694ee93930b4
tree5a902cabf867d6e95143edbd032fcbda68ca24db
parent86cfd1e3ec12ee6a9a8f91f4ebbaaa7741c7f590
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