login
Header Space

 
 

Re: [PATCH] vfs: Fix lock inversion in drop_pagecache_sb()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <dgc@...>, <wfg@...>, <linux-kernel@...>
Date: Wednesday, March 26, 2008 - 5:31 am

On Tue 25-03-08 12:53:54, Andrew Morton wrote:
  Good idea. I'll send a patch in a minute.

  We hold s_umount for reading so we should be safe against someone trying
to do umount. We could possibly race with invalidate_list() called from
check_disk_change() but removing media without unmounting is a bad behavior
anyway. So I think we are fine.

									Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] vfs: Fix lock inversion in drop_pagecache_sb(), Jan Kara, (Wed Mar 26, 5:31 am)
Re: [PATCH] vfs: Fix lock inversion in drop_pagecache_sb(), Trond Myklebust, (Tue Mar 25, 6:01 pm)
speck-geostationary