lowntfs-3g.c: Fix compile error when building with libfuse < 2.8.0.
The libfuse function 'fuse_lowlevel_notify_inval_inode' is only available starting with libfuse 2.8.0 while we advertise compatibility with FUSE 2.6.0 as the baseline. So add a preprocessor check to exclude this code from libfuse < 2.8.0.pull/2/head
parent
56b8e713d5
commit
da1b61ec22
|
@ -3809,7 +3809,7 @@ static void ntfs_fuse_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name,
|
|||
} else
|
||||
res = -errno;
|
||||
#endif
|
||||
#if CACHEING && !defined(FUSE_INTERNAL)
|
||||
#if CACHEING && !defined(FUSE_INTERNAL) && FUSE_VERSION >= 28
|
||||
/*
|
||||
* Most of system xattr settings cause changes to some
|
||||
* file attribute (st_mode, st_nlink, st_mtime, etc.),
|
||||
|
@ -4056,7 +4056,7 @@ static void ntfs_fuse_removexattr(fuse_req_t req, fuse_ino_t ino, const char *na
|
|||
} else
|
||||
res = -errno;
|
||||
#endif
|
||||
#if CACHEING && !defined(FUSE_INTERNAL)
|
||||
#if CACHEING && !defined(FUSE_INTERNAL) && FUSE_VERSION >= 28
|
||||
/*
|
||||
* Some allowed system xattr removals cause changes to
|
||||
* some file attribute (st_mode, st_nlink, etc.),
|
||||
|
|
Loading…
Reference in New Issue