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>
Sun, 24 Nov 2013 17:22:00 +0000 (12:22 -0500)
commit2be8b257a7e895bc4927a874d5d681a8fb2149d1
treeb1e56879177e431a5e4c6daffcd0f975ee524811
parent0d03cbba817c6a6fcd68cb7b1131680999ab28d8
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