#28 Kernel panic when mounting hostfs from non-existent director

closed-fixed
Jeff Dike
9
2001-02-06
2001-02-06
Anonymous
No

A simple typo:

diff -x *.[oa] -x *.flags -x *~ -Nur linux/arch/um.org/fs/hostfs/hostfs_kern.c linux/arch/um/fs/hostfs/hostfs_kern.c
@@ -359,7 +361,7 @@
if(do_read) err = read_inode(inode);
if(err < 0){
iput(inode);
- if(err) *error = err;
+ if(error) *error = err;
return(NULL);
}
if(error) *error = 0;

Discussion

  • Jeff Dike
    Jeff Dike
    2001-02-06

    • priority: 5 --> 9
    • assigned_to: nobody --> jdike
    • status: open --> closed-fixed
     
  • Jeff Dike
    Jeff Dike
    2001-02-06

    Patch applied. Thanks.