mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Removed support of bmap() with external fuse older than 2.8
This commit is contained in:
parent
e47b85c07e
commit
233bf2929a
@ -2490,6 +2490,8 @@ static void ntfs_fuse_rmdir(fuse_req_t req, fuse_ino_t parent, const char *name)
|
||||
fuse_reply_err(req, 0);
|
||||
}
|
||||
|
||||
#if FUSE_VERSION >= 28
|
||||
|
||||
static void ntfs_fuse_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize,
|
||||
uint64_t vidx)
|
||||
{
|
||||
@ -2543,6 +2545,8 @@ done :
|
||||
fuse_reply_bmap(req, lidx);
|
||||
}
|
||||
|
||||
#endif /* FUSE_VERSION >= 28 */
|
||||
|
||||
#ifdef HAVE_SETXATTR
|
||||
|
||||
/*
|
||||
@ -3585,7 +3589,9 @@ static struct fuse_lowlevel_ops ntfs_3g_ops = {
|
||||
.rename = ntfs_fuse_rename,
|
||||
.mkdir = ntfs_fuse_mkdir,
|
||||
.rmdir = ntfs_fuse_rmdir,
|
||||
#if FUSE_VERSION >= 28
|
||||
.bmap = ntfs_fuse_bmap,
|
||||
#endif /* FUSE_VERSION >= 28 */
|
||||
.destroy = ntfs_fuse_destroy2,
|
||||
#if !KERNELPERMS | (POSIXACLS & !KERNELACLS)
|
||||
.access = ntfs_fuse_access,
|
||||
|
Loading…
Reference in New Issue
Block a user