diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 00:15:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:29 -0800 |
commit | b88a27edcd3e96f826c291f8e34fdbb0a90bc9ca (patch) | |
tree | eaf898c54946e958f95a757fb43b1dcd124b2358 /virt | |
parent | b55c460da6df4e8dfc6f68c00fafe7337b54e2f8 (diff) | |
download | linux-b88a27edcd3e96f826c291f8e34fdbb0a90bc9ca.tar.bz2 |
iget: stop OPENPROMFS from using iget() and read_inode()
Stop the OPENPROMFS filesystem from using iget() and read_inode(). Replace
openpromfs_read_inode() with openpromfs_iget(), and call that instead of
iget(). openpromfs_iget() then uses iget_locked() directly and returns a
proper error code instead of an inode in the event of an error.
openpromfs_fill_super() returns any error incurred when getting the root inode
instead of ENOMEM (not that it currently incurs any other error).
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
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 'virt')
0 files changed, 0 insertions, 0 deletions