]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jfs/jfs_imap.c
JFS: diAlloc() should return -EIO rather than EIO
[linux-2.6-omap-h63xx.git] / fs / jfs / jfs_imap.c
index 734ec916beafb1c1306cd5994c7858f92f5b4190..d6363d8309d0c5e53370c073e5e620a250d2567a 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