From adf5bbf98ef392a92869cdb280766d8c9dc5e840 Mon Sep 17 00:00:00 2001 From: edef Date: Fri, 15 Apr 2022 20:51:20 +0000 Subject: ripple/fossil/mount: rm rmdir stub rmdir should be rejected with EROFS. For some reason, the initial EROFS pass missed this. Change-Id: Ib8d7b21b42fcf52e696041aa0ba41be5ab20d326 --- ripple/fossil/src/bin/mount.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ripple') diff --git a/ripple/fossil/src/bin/mount.rs b/ripple/fossil/src/bin/mount.rs index 3a5dbce..601b594 100644 --- a/ripple/fossil/src/bin/mount.rs +++ b/ripple/fossil/src/bin/mount.rs @@ -223,15 +223,11 @@ impl fuser::Filesystem for Filesystem { fn rmdir( &mut self, _req: &fuser::Request<'_>, - parent: u64, - name: &std::ffi::OsStr, + _parent: u64, + _name: &std::ffi::OsStr, reply: fuser::ReplyEmpty, ) { - debug!( - "[Not Implemented] rmdir(parent: {:#x?}, name: {:?})", - parent, name, - ); - reply.error(ENOSYS); + reply.error(EROFS); } fn symlink( -- cgit 1.4.1