Unionfs: release lower resources on successful rmdir
authorRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Sun, 25 Nov 2007 22:55:36 +0000 (17:55 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:22 +0000 (19:03 -0400)
commit1b9e7ee3ccdff7c6ef3970461ffaa9a7c0218135
tree37fda099ec2cee91946626fe7a2762f73c254046
parent0759210c5e5359bceff061180bafb09a622d2cda
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>
Conflicts:

fs/unionfs/unlink.c
fs/unionfs/inode.c
fs/unionfs/mmap.c
fs/unionfs/unlink.c