f5ef3c105b
If a 9pfs server crashes, v9fs_fd_close() is called. Subsequently, in cleaning up by performing a umount() on the FS that was provided by this server v9fs_fd_close() is called again, and uses the old, freed valus of trans->priv. This patch ensures that trans->priv can be freed only once, otherwise this function bails early. Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com> 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> |
||
---|---|---|
.. | ||
9p.c | ||
9p.h | ||
Makefile | ||
conv.c | ||
conv.h | ||
debug.h | ||
error.c | ||
error.h | ||
fid.c | ||
fid.h | ||
mux.c | ||
mux.h | ||
trans_fd.c | ||
trans_sock.c | ||
transport.h | ||
v9fs.c | ||
v9fs.h | ||
v9fs_vfs.h | ||
vfs_dentry.c | ||
vfs_dir.c | ||
vfs_file.c | ||
vfs_inode.c | ||
vfs_super.c |