inode: add a helper for opening devices
authorAlan Cox <alan@linux.intel.com>
Fri, 22 May 2015 10:34:42 +0000 (11:34 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 22 May 2015 10:34:42 +0000 (11:34 +0100)
commitb34d8cb0dc862a0b190dece3217cae16b4228488
tree14dfea37d62da9f0958459ea4d8754672e24a3fa
parentf373d0bf3d94fb550316526d4d77384b58725d67
inode: add a helper for opening devices

We keep the inode stuff clear of devices (might be very size costly otherwise)
but do the fixups here. Not perfect... may need to size a few options and
see what the payoffs are
Kernel/inode.c