Loading fs/hostfs/hostfs_kern.c +1 −0 Original line number Diff line number Diff line Loading @@ -329,6 +329,7 @@ static int hostfs_file_open(struct inode *ino, struct file *file) /* somebody else had handled it first? */ if ((mode & HOSTFS_I(ino)->mode) == mode) { mutex_unlock(&HOSTFS_I(ino)->open_mutex); close_file(&fd); return 0; } if ((mode | HOSTFS_I(ino)->mode) != mode) { Loading Loading
fs/hostfs/hostfs_kern.c +1 −0 Original line number Diff line number Diff line Loading @@ -329,6 +329,7 @@ static int hostfs_file_open(struct inode *ino, struct file *file) /* somebody else had handled it first? */ if ((mode & HOSTFS_I(ino)->mode) == mode) { mutex_unlock(&HOSTFS_I(ino)->open_mutex); close_file(&fd); return 0; } if ((mode | HOSTFS_I(ino)->mode) != mode) { Loading