login
Header Space

 
 

Re: [patch 07/10] vfs: add path_rename()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <viro@...>, <akpm@...>, <dave@...>, <ezk@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Friday, April 4, 2008 - 1:56 pm

In message <20080402201330.689695350@szeredi.hu>, Miklos Szeredi writes:
[...]

You're grabbing a want_write ref on the source vfsmount only.  Shouldn't
path_rename() call mnt_want_write on *both* the source and destination
vfsmounts?  If so, do we need to order the locks ala lock_rename()?

Erez.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 07/10] vfs: add path_rename(), Miklos Szeredi, (Wed Apr 2, 4:12 pm)
Re: [patch 07/10] vfs: add path_rename() , Erez Zadok, (Fri Apr 4, 1:56 pm)
Re: [patch 07/10] vfs: add path_rename(), Miklos Szeredi, (Fri Apr 4, 2:04 pm)
speck-geostationary