Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

paride: fix 'and' typo in drivers/block/paride/pt.c

Fix 'and' typo (PT_WRITE_OK is defined 2)

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Roel Kluin and committed by
Linus Torvalds
b07989f5 6551198a

+1 -1
+1 -1
drivers/block/paride/pt.c
··· 664 664 goto out; 665 665 666 666 err = -EROFS; 667 - if ((!tape->flags & PT_WRITE_OK) && (file->f_mode & 2)) 667 + if ((!(tape->flags & PT_WRITE_OK)) && (file->f_mode & 2)) 668 668 goto out; 669 669 670 670 if (!(iminor(inode) & 128))