]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/linux/fs.h
kernel/fork.c: make mm_init_owner static
[mirror_ubuntu-zesty-kernel.git] / include / linux / fs.h
index e11d60cc867bd9010edc8d2425cce03b228d968f..1ab6c6913040523cb4a097b3a0bef71ce4fe4dab 100644 (file)
@@ -833,7 +833,7 @@ static inline struct file *get_file(struct file *f)
  *
  * Lockd stuffs a "host" pointer into this.
  */
-typedef struct files_struct *fl_owner_t;
+typedef void *fl_owner_t;
 
 struct file_lock_operations {
        void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
@@ -2688,7 +2688,7 @@ static const struct file_operations __fops = {                            \
        .read    = simple_attr_read,                                    \
        .write   = simple_attr_write,                                   \
        .llseek  = generic_file_llseek,                                 \
-};
+}
 
 static inline __printf(1, 2)
 void __simple_attr_check_format(const char *fmt, ...)