fs/9p: Don't update file type when updating file attributes
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 25 Jul 2011 18:06:33 +0000 (18:06 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 6 Sep 2011 13:17:14 +0000 (08:17 -0500)
commit45089142b1497dab2327d60f6c71c40766fc3ea4
tree8a553d984c355fb89d9937d1212dbb0b2cfcc414
parent5441ae5eb3614d3c28f77073370738a2820c88e4
fs/9p: Don't update file type when updating file attributes

We should only update attributes that we can change on stat2inode.
Also do file type initialization in v9fs_init_inode.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/v9fs_vfs.h
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c
fs/9p/vfs_super.c