Re: [Bluez-devel] Oops involving RFCOMM and sysfs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Al Viro <viro@...>
Cc: Gabor Gombas <gombasg@...>, Dave Young <hidave.darkstar@...>, <linux-kernel@...>, <bluez-devel@...>, Greg KH <greg@...>, <ebiederm@...>
Date: Sunday, January 6, 2008 - 10:37 pm

Hello,

Tejun Heo wrote:

This can't happen because lookup of non-existent entry doesn't create a
negative dentry.  The new dentry is never hashed and killed after lookup
failure, the above scenario can't happen.

That said, the mechanism is a bit too fragile.  sysfs currently ensures
that dentry/inode point to the associated sysfs_dirent.  This is mainly
remanent of conversion from previous VFS based implementation.  I think
the right thing to do here is to make sysfs behave like other proper
distributed filesystems using d_revalidate.

Thanks.

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Oops involving RFCOMM and sysfs, Gabor Gombas, (Fri Dec 28, 1:32 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Sat Dec 29, 4:07 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 2, 11:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 10:13 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 11:24 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 5:00 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Tue Jan 8, 5:42 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Tue Jan 8, 9:32 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Wed Jan 9, 5:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Thu Jan 10, 6:15 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Wed Jan 9, 9:11 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Fri Jan 11, 7:09 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Mon Jan 14, 3:05 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Mon Jan 14, 8:52 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Mon Jan 14, 9:57 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Tue Jan 15, 9:02 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 16, 7:06 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 3:24 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 4:15 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Thu Jan 17, 7:42 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 11:37 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 5:19 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 6:23 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Fri Jan 18, 6:34 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 7:26 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Sun Jan 20, 11:15 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Wed Jan 9, 11:57 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 10:30 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 10:07 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sun Jan 6, 10:37 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Eric W. Biederman, (Mon Jan 7, 4:21 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 5:17 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 5:18 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Eric W. Biederman, (Mon Jan 7, 6:33 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 10:54 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 11:54 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Thu Jan 3, 9:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 3, 9:05 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 10:10 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 4:07 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 2, 10:48 am)