summaryrefslogtreecommitdiff
path: root/block/elevator.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-05-28 08:58:56 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-05-28 08:58:56 -0500
commit3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76 (patch)
treeb475d031cd1abaf1a2ffef99968c00950ae2c431 /block/elevator.c
parent6536d2891ba2c4e837ba8478dc13bb173ed24a23 (diff)
downloadlinux-3.10-3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76.tar.gz
linux-3.10-3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76.tar.bz2
linux-3.10-3c65e8743bf8b5cf0f90e8d767bf1d8b50c14c76.zip
JFS: diAlloc() should return -EIO rather than EIO
The comment above the function says one of its return value is -EIO, and also the caller of diAlloc() checks for -EIO: struct inode *ialloc(struct inode *parent, umode_t mode) { ... rc = diAlloc(parent, S_ISDIR(mode), inode); if (rc) { jfs_warn("ialloc: diAlloc returned %d!", rc); if (rc == -EIO) make_bad_inode(inode); ... Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions