mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
6db8db6dfd
Summary: The unix `patch` command attempts to issue an `FS_IOC_GETFLAGS` ioctl and blows up when we return `ENOSYS`. The man page for ioctl says: ``` ENOTTY The specified request does not apply to the kind of object that the file descriptor fd references. ``` so let's return that error code to ioctl. In addition, the integration test I added for this trips up when it calls `llistxattr` on the file; turns out we don't need to insert the `fuse_getxattr_out` when we're returning the attribute list and that it is only needed when measuring up the required length, so let's move things around to resolve this and make it clearer. Reviewed By: chadaustin Differential Revision: D6685568 fbshipit-source-id: 81963ffe9af30db5634e5e96b7a8aa1485859d65 |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
py | ||
scripts | ||
third-party | ||
AUTODEPS | ||
DEFS |