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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Sunday, January 6, 2008 - 7: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, 10:32 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Sat Dec 29, 1:07 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 2, 7:48 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 2, 8:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Thu Jan 3, 6:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 3, 6:05 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 7:30 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 7:07 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 7:54 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 8:54 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sun Jan 6, 7:37 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 1:07 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Eric W. Biederman, (Mon Jan 7, 1:21 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 2:17 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 2:18 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Eric W. Biederman, (Mon Jan 7, 3:33 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 7:10 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 7:13 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 8:24 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 2:00 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Tue Jan 8, 2:42 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Tue Jan 8, 6:32 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Wed Jan 9, 2:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Wed Jan 9, 8:57 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Wed Jan 9, 6:11 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Thu Jan 10, 3:15 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Fri Jan 11, 4:09 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Mon Jan 14, 12:05 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Mon Jan 14, 6:57 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 16, 4:06 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 12:24 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Thu Jan 17, 4:42 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 8:37 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 2:19 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 3:23 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Fri Jan 18, 3:34 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 4:26 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Sun Jan 20, 8:15 pm)