Page MenuHomeFreeBSD

D19737.id.diff
No OneTemporary

D19737.id.diff

Index: head/sys/fs/tmpfs/tmpfs_subr.c
===================================================================
--- head/sys/fs/tmpfs/tmpfs_subr.c
+++ head/sys/fs/tmpfs/tmpfs_subr.c
@@ -218,6 +218,8 @@
*/
return (EBUSY);
}
+ if ((mp->mnt_kern_flag & MNT_RDONLY) != 0)
+ return (EROFS);
nnode = (struct tmpfs_node *)uma_zalloc_arg(tmp->tm_node_pool, tmp,
M_WAITOK);

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 7:36 PM (23 m, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31793298
Default Alt Text
D19737.id.diff (379 B)

Event Timeline