projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c592b
)
[PATCH] v9fs: Fix support for special files (devices, named pipes, etc.)
author
Eric Van Hensbergen
<ericvh@gmail.com>
Fri, 9 Sep 2005 20:04:27 +0000
(13:04 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:58 +0000
(13:57 -0700)
Fix v9fs special files (block, char devices) support.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/vfs_inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/9p/vfs_inode.c
b/fs/9p/vfs_inode.c
index 6d2357d1dacd75987f45bedd5c8b624ef9b093c2..36fff087167f9a32c630d2685f46034137cac87c 100644
(file)
--- a/
fs/9p/vfs_inode.c
+++ b/
fs/9p/vfs_inode.c
@@
-250,6
+250,9
@@
struct inode *v9fs_get_inode(struct super_block *sb, int mode)
case S_IFBLK:
case S_IFCHR:
case S_IFSOCK:
+ init_special_inode(inode, inode->i_mode,
+ inode->i_rdev);
+ break;
case S_IFREG:
inode->i_op = &v9fs_file_inode_operations;
inode->i_fop = &v9fs_file_operations;