From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erez Zadok Subject: [PATCH 14/14] Unionfs: update lower mnts on rmdir with copyup Date: Tue, 1 Apr 2008 17:06:56 -0400 Message-ID: <1207084023206-git-send-email-ezk@cs.sunysb.edu> References: <12070840162442-git-send-email-ezk@cs.sunysb.edu> Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk, hch@infradead.org, Erez Zadok To: akpm@linux-foundation.org Return-path: Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:45636 "EHLO filer.fsl.cs.sunysb.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761223AbYDAVIN (ORCPT ); Tue, 1 Apr 2008 17:08:13 -0400 In-Reply-To: <12070840162442-git-send-email-ezk@cs.sunysb.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Signed-off-by: Erez Zadok --- fs/unionfs/unlink.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c index c66bb3e..cad0386 100644 --- a/fs/unionfs/unlink.c +++ b/fs/unionfs/unlink.c @@ -280,6 +280,8 @@ out: !unionfs_lower_inode_idx(inode, dend)) ibstart(inode) = ibend(inode) = -1; d_drop(dentry); + /* update our lower vfsmnts, in case a copyup took place */ + unionfs_postcopyup_setmnt(dentry); } if (namelist) -- 1.5.2.2