Removed support of bmap() with external fuse older than 2.8

This commit is contained in:
Jean-Pierre André 2010-06-29 19:27:25 +02:00
parent e47b85c07e
commit 233bf2929a

View File

@ -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,