*/
#include <linux/fs.h>
+#include <linux/filelock.h>
#include <linux/nls.h>
#include "debug.h"
#ifdef CONFIG_COMPAT
.compat_ioctl = ntfs_compat_ioctl,
#endif
+ .setlease = generic_setlease,
};
#if IS_ENABLED(CONFIG_NTFS_FS)
.read = generic_read_dir,
.iterate_shared = ntfs_readdir,
.open = ntfs_file_open,
+ .setlease = generic_setlease,
};
#endif
// clang-format on
#include <linux/falloc.h>
#include <linux/fiemap.h>
#include <linux/fileattr.h>
+#include <linux/filelock.h>
#include "debug.h"
#include "ntfs.h"
.fsync = ntfs_file_fsync,
.fallocate = ntfs_fallocate,
.release = ntfs_file_release,
+ .setlease = generic_setlease,
};
#if IS_ENABLED(CONFIG_NTFS_FS)
.splice_read = ntfs_file_splice_read,
.open = ntfs_file_open,
.release = ntfs_file_release,
+ .setlease = generic_setlease,
};
#endif
// clang-format on