Skip to content

Commit

Permalink
[PATCH] missing ERR_PTR in 9fs
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 30, 2005
1 parent 1dd465c commit 192eaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/9p/vfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static struct super_block *v9fs_get_sb(struct file_system_type

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);
Expand Down

0 comments on commit 192eaa2

Please sign in to comment.