summaryrefslogtreecommitdiffstats
path: root/fs/sync.c
diff options
context:
space:
mode:
authorDavid Howells2008-02-07 09:15:35 +0100
committerLinus Torvalds2008-02-07 17:42:27 +0100
commit52fcf7032935b33158e3998ed399cac97447ab8d (patch)
tree65d15b7541614ff52e76cabf6c7ac01ac0d95686 /fs/sync.c
parentiget: stop EFS from using iget() and read_inode() (diff)
downloadkernel-qcow2-linux-52fcf7032935b33158e3998ed399cac97447ab8d.tar.gz
kernel-qcow2-linux-52fcf7032935b33158e3998ed399cac97447ab8d.tar.xz
kernel-qcow2-linux-52fcf7032935b33158e3998ed399cac97447ab8d.zip
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. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: "Theodore Ts'o" <tytso@mit.edu> Cc: <linux-ext4@vger.kernel.org> 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 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions