diff options
Diffstat (limited to 'fs/qnx6/dir.c')
| -rw-r--r-- | fs/qnx6/dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/qnx6/dir.c b/fs/qnx6/dir.c index b4d10e45f2e4..135fb42f6936 100644 --- a/fs/qnx6/dir.c +++ b/fs/qnx6/dir.c @@ -11,6 +11,7 @@ * */ +#include <linux/filelock.h> #include "qnx6.h" static unsigned qnx6_lfile_checksum(char *name, unsigned size) @@ -274,7 +275,8 @@ const struct file_operations qnx6_dir_operations = { .llseek = generic_file_llseek, .read = generic_read_dir, .iterate_shared = qnx6_readdir, - .fsync = generic_file_fsync, + .fsync = simple_fsync, + .setlease = generic_setlease, }; const struct inode_operations qnx6_dir_inode_operations = { |
