linux/fs/jfs
Akinobu Mita 087387f90f [PATCH] JFS: return correct error when i-node allocation failed
I have seen confusing behavior on JFS when I injected many intentional
slab allocation errors. The cp command failed with no disk space error
with enough disk space.

This patch makes:

- change the return value in case slab allocation failures happen
  from -ENOSPC to -ENOMEM

- ialloc() return error code so that the caller can know the reason
  of failures

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
(cherry picked from 2b46f77976f798f3fe800809a1d0ed38763c71c8 commit)
2006-10-02 09:51:01 -05:00
..
Makefile JFS: ext2 inode attributes for jfs 2006-02-09 09:09:16 -06:00
acl.c JFS: add uid, gid, and umask mount options 2006-03-09 13:59:30 -06:00
endian24.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c [PATCH] Streamline generic_file_* interfaces and filemap cleanups 2006-10-01 00:39:28 -07:00
inode.c [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
ioctl.c [PATCH] BLOCK: Move common FS-specific ioctls to linux/fs.h [try #6] 2006-09-30 20:52:28 +02:00
jfs_acl.h JFS: allow extended attributes to be set within a existing transaction 2005-09-01 09:02:43 -05:00
jfs_btree.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_debug.c [PATCH] fs: Use ARRAY_SIZE macro 2006-03-24 07:33:19 -08:00
jfs_debug.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_dinode.h JFS: ext2 inode attributes for jfs 2006-02-09 09:09:16 -06:00
jfs_dmap.c [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_dmap.h JFS: semaphore to mutex conversion. 2006-01-24 15:22:50 -06:00
jfs_dtree.c [PATCH] JFS: return correct error when i-node allocation failed 2006-10-02 09:51:01 -05:00
jfs_dtree.h JFS: Code cleanup - getting rid of never-used debug code 2005-06-27 15:35:37 -05:00
jfs_extent.c [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_extent.h [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_filsys.h [PATCH] disk quotas fail when /etc/mtab is symlinked to /proc/mounts 2005-09-07 16:57:23 -07:00
jfs_imap.c [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_imap.h [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_incore.h JFS: add uid, gid, and umask mount options 2006-03-09 13:59:30 -06:00
jfs_inode.c [PATCH] JFS: return correct error when i-node allocation failed 2006-10-02 09:51:01 -05:00
jfs_inode.h JFS: Quota support broken, no quota_read and quota_write 2006-07-26 14:52:13 -05:00
jfs_lock.h JFS: semaphore to mutex conversion. 2006-01-24 15:22:50 -06:00
jfs_logmgr.c [PATCH] sem2mutex: fs/ 2006-03-26 08:56:55 -08:00
jfs_logmgr.h JFS: semaphore to mutex conversion. 2006-01-24 15:22:50 -06:00
jfs_metapage.c [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
jfs_metapage.h [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_mount.c [PATCH] JFS: Support page sizes greater than 4K 2005-05-02 22:23:53 -07:00
jfs_superblock.h JFS: Use the kthread_ API 2006-02-15 12:49:04 -06:00
jfs_txnmgr.c JFS: Remove shadow variable from fs/jfs/jfs_txnmgr.c:xtLog() 2006-10-02 09:50:51 -05:00
jfs_txnmgr.h JFS: don't dereference tlck->ip from txUpdateMap 2005-09-20 14:58:11 -05:00
jfs_types.h [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_umount.c [PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait) 2006-01-08 20:13:47 -08:00
jfs_unicode.c [PATCH] JFS: return correct error when i-node allocation failed 2006-10-02 09:51:01 -05:00
jfs_unicode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_uniupr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_xattr.h JFS: Implement jfs_init_security 2005-09-01 09:05:39 -05:00
jfs_xtree.c [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
jfs_xtree.h JFS: Code cleanup - getting rid of never-used debug code 2005-06-27 15:35:37 -05:00
namei.c [PATCH] JFS: return correct error when i-node allocation failed 2006-10-02 09:51:01 -05:00
resize.c [PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait) 2006-01-08 20:13:47 -08:00
super.c [PATCH] JFS: return correct error when i-node allocation failed 2006-10-02 09:51:01 -05:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
xattr.c [PATCH] fs/jfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00