Can't change permissions (etc) of FIFOs on JFFS.
Hi,
Attempting to change permissions and times of FIFOs in JFFS results in
jffs_notify_change(): Invalid inode number = nnn
David Vrabel
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 3 lines · [email protected] said:
Attempting to change permissions and times of FIFOs in JFFS results
in
jffs_notify_change(): Invalid inode number = nnn
Fixed. jffs_notify_change() was assuming that the inode would be a JFFS inode, when obviously it's a FIFO inode in this case, so it can't just grab the pointer to the struct jffs_file out of it.
Fixed committed - now we use jffs_find_file() to find the file by its inum.
A quick scan shows no more such paths which might expect JFFS inodes but actually get other types. You know what to do if you find them, though.
Someone who isn't as pissed off with this game as I am right now probably wants to port the last 24 hours worth of fixes from inode-v22.c to inode-v23.c
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to [email protected]