Great idea! I quickly looked into the implementation details and using
iget4/read_inode2 perfectly reconciles my ideas of using an address space
mapping for each ntfs attribute with the kernels requirement of using
inodes as the i/o entity by allowing a clean and unique mapping between
multiple inodes with the same inode numbers and their attributes and
address spaces.
I need to work out exactly how to do it but I will definitely go that way.
That will make everything nice and clean and get rid of the existing
kludges of passing around other types of objects instead of struct file *
to my various readpage functions. Also I will be able to have fewer
readpage functions... (-:
Thanks for the suggestion!
Best regards,
Anton
-- "I've not lost my mind. It's backed up on tape somewhere." - Unknown-- Anton Altaparmakov <aia21 at cantab.net> (replace at with @) Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/- 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/