public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890a869
)
syscall_other: bracketing
author
Alan Cox
<alan@linux.intel.com>
Sat, 17 Feb 2018 22:39:43 +0000
(22:39 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 17 Feb 2018 22:39:43 +0000
(22:39 +0000)
Kernel/syscall_other.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_other.c
b/Kernel/syscall_other.c
index
055678d
..
23e3029
100644
(file)
--- a/
Kernel/syscall_other.c
+++ b/
Kernel/syscall_other.c
@@
-365,7
+365,7
@@
static int do_umount(uint16_t dev)
/* If anything on this file system is open for write then you
can't remount it read only */
- if (
flags & (MS_RDONLY|MS_REMOUNT
) == (MS_RDONLY|MS_REMOUNT)) {
+ if (
(flags & (MS_RDONLY|MS_REMOUNT)
) == (MS_RDONLY|MS_REMOUNT)) {
for (ptr = i_tab ; ptr < i_tab + ITABSIZE; ++ptr) {
if (ptr->c_dev == dev && !isdevice(ptr)) {
/* Files being written block the remount ro, but so