JFS: diAlloc() should return -EIO rather than EIO
[safe/jmp/linux-2.6] / fs / jfs / jfs_imap.c
index 734ec91..d6363d8 100644 (file)
@@ -1520,7 +1520,7 @@ int diAlloc(struct inode *pip, bool dir, struct inode *ip)
                                        jfs_error(ip->i_sb,
                                                  "diAlloc: can't find free bit "
                                                  "in wmap");
-                                       return EIO;
+                                       return -EIO;
                                }
 
                                /* determine the inode number within the