summaryrefslogtreecommitdiff
path: root/include/linux/consolemap.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2003-05-24 21:42:29 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-24 21:42:29 -0700
commit9bda5f681fd216b6a856b72940195e5335317bf1 (patch)
treef41a2cf805156cd9336be8c2eab01fbbacddc62d /include/linux/consolemap.h
parent787d458a0ce55dd6ca7595a3e9003d2e089cd60c (diff)
[PATCH] i_cdev/i_cindex
new fields in struct inode - i_cdev and i_cindex. When we do open() on a character device we cache result of cdev lookup in inode and put the inode on a cyclic list anchored in cdev. If we already have that done, we don't bother with any lookups. When inode disappears it's removed from the list. When cdev gets unregistered we remove all cached references to it (and remove such inodes from the list). cdev is held until final fput() now.
Diffstat (limited to 'include/linux/consolemap.h')
0 files changed, 0 insertions, 0 deletions