[PATCH] missing ERR_PTR in 9fs

From: Al Viro
Date: Thu Sep 29 2005 - 21:16:15 EST


Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/