summaryrefslogtreecommitdiff
path: root/fs/sysv/super.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-02-07 00:15:46 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:28 -0800
commit78cc9120003d7847ef1abebb771a708c7ae51ffd (patch)
tree1e6f1d3360f934a557a7e46249a4da56035cf953 /fs/sysv/super.c
parent2b7e5bcbd9e03f7236d2869f4261059074ea50a2 (diff)
downloadlwn-78cc9120003d7847ef1abebb771a708c7ae51ffd.tar.gz
lwn-78cc9120003d7847ef1abebb771a708c7ae51ffd.zip
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 'fs/sysv/super.c')
0 files changed, 0 insertions, 0 deletions