]> Git Repo - linux.git/commit
iget: stop EXT2 from using iget() and read_inode()
authorDavid Howells <[email protected]>
Thu, 7 Feb 2008 08:15:35 +0000 (00:15 -0800)
committerLinus Torvalds <[email protected]>
Thu, 7 Feb 2008 16:42:27 +0000 (08:42 -0800)
commit52fcf7032935b33158e3998ed399cac97447ab8d
tree65d15b7541614ff52e76cabf6c7ac01ac0d95686
parent298384cd7929a3a14d7b116095973f0d02f5d09e
iget: stop EXT2 from using iget() and read_inode()

Stop the EXT2 filesystem from using iget() and read_inode().  Replace
ext2_read_inode() with ext2_iget(), and call that instead of iget().
ext2_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.

ext2_fill_super() returns any error incurred when getting the root inode
instead of EINVAL.

[[email protected]: coding-style fixes]
Signed-off-by: David Howells <[email protected]>
Acked-by: "Theodore Ts'o" <[email protected]>
Cc: <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext2/ext2.h
fs/ext2/inode.c
fs/ext2/namei.c
fs/ext2/super.c
This page took 0.04931 seconds and 4 git commands to generate.