Re: [PATCH 5/9] nfs: use check_submounts_and_drop()

2013-08-12 Thread Jeff Layton
On Thu, 8 Aug 2013 17:24:46 +0200 Miklos Szeredi wrote: > From: Miklos Szeredi > > Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. > > check_submounts_and_drop() can deal with negative dentries and > non-directories as well. > > Non-directories can also be mounted on. A

[PATCH 5/9] nfs: use check_submounts_and_drop()

2013-08-08 Thread Miklos Szeredi
From: Miklos Szeredi Do have_submounts(), shrink_dcache_parent() and d_drop() atomically. check_submounts_and_drop() can deal with negative dentries and non-directories as well. Non-directories can also be mounted on. And just like directories we don't want these to disappear with invalidation