Messages in this thread Patch in this message | | | Date | Fri, 30 Sep 2005 03:15:08 +0100 | From | Al Viro <> | Subject | [PATCH] missing ERR_PTR in 9fs |
| |
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> ---- diff -urN RC14-rc2-git6-base/fs/9p/vfs_super.c current/fs/9p/vfs_super.c --- RC14-rc2-git6-base/fs/9p/vfs_super.c 2005-09-28 21:33:37.000000000 -0400 +++ current/fs/9p/vfs_super.c 2005-09-29 15:57:10.000000000 -0400 @@ -129,7 +129,7 @@ if ((newfid = v9fs_session_init(v9ses, dev_name, data)) < 0) { dprintk(DEBUG_ERROR, "problem initiating session\n"); - return newfid; + return ERR_PTR(newfid); } sb = sget(fs_type, NULL, v9fs_set_super, v9ses); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |