[-mm PATCH] v9fs: Fix support for special files (devices, named pipes, etc.)

From: ericvh
Date: Tue Jun 21 2005 - 20:31:54 EST


Fix v9fs special files (block, char devices) support.

Signed-off-by: Latchesar Ionkov <lucho@xxxxxxxxxx>
Signed-off-by: Eric Van Hensbergen <ericvh@xxxxxxxxx>

---
commit 215b1ec24f03d17163f43753eafc15bb7d5ca9cd
tree af5931d9ea737636c61147e18c815d7cc11be8a6
parent 90d763e77646e85c987fc550d19ff931554aba60
author Eric Van Hensbergen <ericvh@xxxxxxxxx> Tue, 21 Jun 2005 20:14:38 -0500
committer Eric Van Hensbergen <ericvh@xxxxxxxxx> Tue, 21 Jun 2005 20:14:38 -0500

fs/9p/vfs_inode.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -250,6 +250,9 @@ struct inode *v9fs_get_inode(struct supe
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/