Messages in this thread | | | Date | Thu, 20 Nov 2014 08:39:52 -0500 | From | Tejun Heo <> | Subject | Re: [PATCH vfs 2/2] {block|char}_dev: remove inode->i_devices |
| |
On Thu, Nov 20, 2014 at 08:11:18AM -0500, Tejun Heo wrote: ... > creating another one-off behavior. If we demote this to something > which is shared only between block and char devs, we can go simpler > and less versatile. Where should it go tho?
So, one option is implementing something minimal in fs/devptrs.h or somesuch and include it from block/char_dev.c. If it isn't exposed as a generic lib function, this can be a lot simpler. I'll give it a shot later today.
Thanks.
-- tejun
| |