git: d4c8fd3a2c83 - main - fuse_vnop_allocate: Drop duplicated vfs_isrdonly() check
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Jul 2025 07:32:01 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/src/commit/?id=d4c8fd3a2c83b213ca3a4ae095d39569e9da4d0e
commit d4c8fd3a2c83b213ca3a4ae095d39569e9da4d0e
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-06-17 10:00:28 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-07-04 07:14:21 +0000
fuse_vnop_allocate: Drop duplicated vfs_isrdonly() check
Approved by: asomers
Pull Request: https://github.com/freebsd/freebsd-src/pull/1727
---
sys/fs/fuse/fuse_vnops.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
index c0ec5a94b8d3..f3a9d80208b7 100644
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -610,8 +610,6 @@ fuse_vnop_allocate(struct vop_allocate_args *ap)
return (ESPIPE);
case VLNK:
case VREG:
- if (vfs_isrdonly(mp))
- return (EROFS);
break;
default:
return (ENODEV);