diff options
author | edef <edef@unfathomable.blue> | 2022-04-15 20:51:20 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-04-15 20:51:20 +0000 |
commit | adf5bbf98ef392a92869cdb280766d8c9dc5e840 (patch) | |
tree | e09054b100a7df6bdbced101137632edf6108022 /ripple/fossil/src | |
parent | 4d05978dcd9dd3796e99b666347757300808cda4 (diff) | |
download | unf-legacy-adf5bbf98ef392a92869cdb280766d8c9dc5e840.tar.zst |
ripple/fossil/mount: rm rmdir stub
rmdir should be rejected with EROFS. For some reason, the initial EROFS pass missed this. Change-Id: Ib8d7b21b42fcf52e696041aa0ba41be5ab20d326
Diffstat (limited to 'ripple/fossil/src')
-rw-r--r-- | ripple/fossil/src/bin/mount.rs | 10 |
1 files changed, 3 insertions, 7 deletions
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( |