diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 03:15:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:28 -0500 |
commit | 78cc9120003d7847ef1abebb771a708c7ae51ffd (patch) | |
tree | 1e6f1d3360f934a557a7e46249a4da56035cf953 /init/version.c | |
parent | 2b7e5bcbd9e03f7236d2869f4261059074ea50a2 (diff) |
iget: stop ROMFS from using iget() and read_inode()
Stop the ROMFS filesystem from using iget() and read_inode(). Replace
romfs_read_inode() with romfs_iget(), and call that instead of iget().
romfs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
romfs_fill_super() returns any error incurred when getting the root inode
instead of EINVAL.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions