diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 25ba75d02580..b4b56fd1e772 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2593,6 +2593,11 @@ int shmem_unuse(swp_entry_t entry, struct page *page) | |||
2593 | return 0; | 2593 | return 0; |
2594 | } | 2594 | } |
2595 | 2595 | ||
2596 | int shmem_lock(struct file *file, int lock, struct user_struct *user) | ||
2597 | { | ||
2598 | return 0; | ||
2599 | } | ||
2600 | |||
2596 | #define shmem_vm_ops generic_file_vm_ops | 2601 | #define shmem_vm_ops generic_file_vm_ops |
2597 | #define shmem_file_operations ramfs_file_operations | 2602 | #define shmem_file_operations ramfs_file_operations |
2598 | #define shmem_get_inode(sb, mode, dev, flags) ramfs_get_inode(sb, mode, dev) | 2603 | #define shmem_get_inode(sb, mode, dev, flags) ramfs_get_inode(sb, mode, dev) |