login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
1
Re: [RFC][PATCH 3/8] move mnt_want_write() out of may_open()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Miklos Szeredi <miklos@...>
To: <haveblue@...>
Cc: <linux-kernel@...>, <hch@...>, <miklos@...>, <haveblue@...>
Subject:
Re: [RFC][PATCH 3/8] move mnt_want_write() out of may_open()
Date: Monday, October 1, 2007 - 3:55 pm
> @@ -1687,10 +1679,8 @@ static int open_namei_create(struct name
quoted text
> struct dentry *dir = nd->dentry; > > /* > - * This ensures that the mnt stays writable > - * over the vfs_create() call to may_open(), > - * which takes a more persistent > - * mnt_want_write(). > + * This mnt_want_write() is potentially persistent, > + * and balanced in __fput() > */ > error = mnt_want_write(nd->mnt); > if (error) {
I'm confused: isn't it the mnt_want_write() in __dentry_open(), that is balanced in __fput()? Miklos -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH 1/8] get mount write in __dentry_open()
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
[RFC][PATCH 6/8] kill do_filp_open()
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
[RFC][PATCH 8/8] keep track of mnt_writer state of struct file
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
[RFC][PATCH 7/8] kill filp_open()
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
[RFC][PATCH 3/8] move mnt_want_write() out of may_open()
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
Re: [RFC][PATCH 3/8] move mnt_want_write() out of may_open()
, Miklos Szeredi
, (Mon Oct 1, 3:55 pm)
Re: [RFC][PATCH 3/8] move mnt_want_write() out of may_open()
, Dave Hansen
, (Mon Oct 1, 4:10 pm)
[RFC][PATCH 4/8] do namei_flags calculation inside open_name...
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
[RFC][PATCH 5/8] make open_namei() return a filp
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
[RFC][PATCH 2/8] move mnt_want_write() into open_namei_creat...
, Dave Hansen
, (Fri Sep 28, 2:13 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Joerg Roedel
[PATCH 03/34] AMD IOMMU: add defines and structures for ACPI scanning code
Ingo Molnar
[patch 03/13] syslets: generic kernel bits
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan...
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
941 guests
online.
Online users
danahouse
cbeltyml12
vgnfe
Syndicate