* [PATCH] missing ERR_PTR in 9fs
@ 2005-09-30 2:15 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-09-30 2:15 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, Eric Van Hensbergen
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-30 2:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 2:15 [PATCH] missing ERR_PTR in 9fs Al Viro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.