summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-30 13:50:53 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-30 13:52:12 +0100
commit90343eeaeb878238b34f276b0620743ccbf45922 (patch)
tree89db228ff10a7a6b577aacc35117dea317f0376a /Base
parentdc17e01c9923b5af79b3ee1cea4435f6952c9a57 (diff)
downloadserenity-90343eeaeb878238b34f276b0620743ccbf45922.zip
Revert "Kernel: Return -ENOTDIR for non-directory mount target"
This reverts commit b7b09470ca7f08f42b0f3a6701192adbdf198870. Mounting a file on top of a file is a valid thing we support.
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man2/mount.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/Base/usr/share/man/man2/mount.md b/Base/usr/share/man/man2/mount.md
index 26b4c26710..63904326e1 100644
--- a/Base/usr/share/man/man2/mount.md
+++ b/Base/usr/share/man/man2/mount.md
@@ -89,7 +89,6 @@ launch the initial userspace process.
* `EBADF`: If the `source_fd` is not valid, and either `fs_type` specifies a
file-backed filesystem (and not a pseudo filesystem), or `MS_BIND` is
specified in flags.
-* `ENOTDIR`: If `target` is not a directory.
* `ENOTBLK`: If the `source_fd` is not a block device, but one is required (i.e.
when `fs_type` is `Ext2FS`)