commit | 192eaa28ba7b44485e521df7ba7a2ccbc4cc4d13 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Fri Sep 30 03:15:08 2005 +0100 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 30 08:42:23 2005 -0700 |
tree | b0b553097c70731f564e24b51709111c3b2b9275 | |
parent | 1dd465cac8d3ba18a9840d032f6604147269c031 [diff] |
[PATCH] missing ERR_PTR in 9fs Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 0957f4d..82c5b00 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c
@@ -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);