9p: Add missing cast for the error return value in v9fs_get_inode
authorAbhishek Kulkarni <adkulkar@umail.iu.edu>
Mon, 17 Aug 2009 21:32:18 +0000 (16:32 -0500)
committerEric Van Hensbergen <ericvh@strongmad.austin.ibm.com>
Mon, 17 Aug 2009 21:35:08 +0000 (16:35 -0500)
commit48559b4c30708ebdc849483da9fb83ee08c6c908
tree6e27e440ecc26f4d9c58f1a462cf81a513e0881f
parent4d3297ca5bf37ff5956f76fb352e009880aad62d
9p: Add missing cast for the error return value in v9fs_get_inode

Cast the error return value (ENOMEM) in v9fs_get_inode() to its
correct type using ERR_PTR.

Signed-off-by: Abhishek Kulkarni <adkulkar@umail.iu.edu>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c