summaryrefslogtreecommitdiff
path: root/include/linux/ecryptfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ecryptfs.h')
-rw-r--r--include/linux/ecryptfs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/ecryptfs.h b/include/linux/ecryptfs.h
index 489b99e37128..0f0b66491940 100644
--- a/include/linux/ecryptfs.h
+++ b/include/linux/ecryptfs.h
@@ -158,7 +158,7 @@ static inline int ecryptfs_register_to_events(
return 1; /* dummy handle */
}
-static int ecryptfs_unregister_from_events(int user_handle)
+static inline int ecryptfs_unregister_from_events(int user_handle)
{
return 0;
}
@@ -189,13 +189,14 @@ static inline bool ecryptfs_cipher_match(const void *ecrytpfs_data,
return false;
}
-bool ecryptfs_is_page_in_metadata(const void *ecrytpfs_data, pgoff_t offset)
+static inline bool ecryptfs_is_page_in_metadata(const void *ecrytpfs_data,
+ pgoff_t offset)
{
return false;
}
-bool ecryptfs_is_data_equal(const void *ecrytpfs_data1,
- const void *ecrytpfs_data2)
+static inline bool ecryptfs_is_data_equal(const void *ecrytpfs_data1,
+ const void *ecrytpfs_data2)
{
return false;
}