]> err.no Git - linux-2.6/blobdiff - fs/9p/vfs_super.c
Merge git://git.tuxdriver.com/git/netdev-jwl
[linux-2.6] / fs / 9p / vfs_super.c
index 0957f4da91d46ffbe19e3c1687263e6d2fe75127..82c5b00840796d5f82bd6810a92f783b11e953d1 100644 (file)
@@ -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);