-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuse: update to newer FUSE_USE_VERSION
The build was failing for me against fuse-devel v3.9.1. The prototype for fuse_ll_ioctl was wrong, as it was expecting the old-style one with signed int args. In newer libfuse versions, the prototype varies based on FUSE_USE_VERSION. Update to a newer FUSE_USE_VERSION value to ensure that we use the newer ioctl prototype. This also means that we need to handle a new prototype for fuse_session_loop_mt as well. While we're in here, move the definition of FUSE_USE_VERSION to ceph_fuse.h so we have the definition in one place. This does mean we need to reorganize the includes in a few places. Fixes: https://tracker.ceph.com/issues/45866 Signed-off-by: Jeff Layton <[email protected]>
- Loading branch information
Showing
7 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ | |
* | ||
*/ | ||
|
||
#define FUSE_USE_VERSION 30 | ||
|
||
class CephFuse { | ||
public: | ||
CephFuse(Client *c, int fd); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters