diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 03:15:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:28 -0500 |
commit | c4386c83bf849c56b1f49951595aeb7c9a719d21 (patch) | |
tree | 44248ee7c540d9992fc3c0b4ac73d30c0bc0a136 /fs/isofs/rock.c | |
parent | 635253915b3297435e178371407d568522aae3d4 (diff) |
iget: stop ISOFS from using read_inode()
Stop the ISOFS filesystem from using read_inode(). Make isofs_read_inode()
return an error code, and make isofs_iget() pass it on.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Jan Kara <jack@ucw.cz>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: "Dave Young" <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/isofs/rock.c')
-rw-r--r-- | fs/isofs/rock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c index f3a1db3098de..6bd48f0a7047 100644 --- a/fs/isofs/rock.c +++ b/fs/isofs/rock.c | |||
@@ -474,8 +474,10 @@ repeat: | |||
474 | isofs_iget(inode->i_sb, | 474 | isofs_iget(inode->i_sb, |
475 | ISOFS_I(inode)->i_first_extent, | 475 | ISOFS_I(inode)->i_first_extent, |
476 | 0); | 476 | 0); |
477 | if (!reloc) | 477 | if (IS_ERR(reloc)) { |
478 | ret = PTR_ERR(reloc); | ||
478 | goto out; | 479 | goto out; |
480 | } | ||
479 | inode->i_mode = reloc->i_mode; | 481 | inode->i_mode = reloc->i_mode; |
480 | inode->i_nlink = reloc->i_nlink; | 482 | inode->i_nlink = reloc->i_nlink; |
481 | inode->i_uid = reloc->i_uid; | 483 | inode->i_uid = reloc->i_uid; |