commit | 40e2c71d57565a82970a5a2b75f7eb67bb3252f4 | [log] [tgz] |
---|---|---|
author | Rui Xiang <rui.xiang@huawei.com> | Thu Jan 23 15:56:19 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 23 16:37:04 2014 -0800 |
tree | eb652db714dfb7d4565baa3c124c9f2d982394fd | |
parent | 3089a4c8d3abc7e2ab105d1d39d415110d1566d6 [diff] |
romfs: fix returm err while getting inode in fill_super Getting an inode by romfs_iget may lead to an err in fill_super, and the err value should be return. And it should return -ENOMEM instead while d_make_root fails, fix it too. Signed-off-by: Rui Xiang <rui.xiang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>