diff options
author | Rui Xiang <rui.xiang@huawei.com> | 2014-01-23 15:56:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 16:37:04 -0800 |
commit | 40e2c71d57565a82970a5a2b75f7eb67bb3252f4 (patch) | |
tree | eb652db714dfb7d4565baa3c124c9f2d982394fd /drivers/hid/hid-twinhan.c | |
parent | 3089a4c8d3abc7e2ab105d1d39d415110d1566d6 (diff) | |
download | linux-40e2c71d57565a82970a5a2b75f7eb67bb3252f4.tar.gz linux-40e2c71d57565a82970a5a2b75f7eb67bb3252f4.tar.xz |
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>
Diffstat (limited to 'drivers/hid/hid-twinhan.c')
0 files changed, 0 insertions, 0 deletions