#include <linux/random.h>
#include <linux/string.h>
#include <linux/mount.h>
+#include <lustre_compat.h>
#include "llcrypt_private.h"
/**
return -EFAULT;
policy.version = version;
- if (!inode_owner_or_capable(inode))
+ if (!inode_owner_or_capable(&init_user_ns, inode))
return -EACCES;
ret = mnt_want_write_file(filp);