kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
[openwrt.git] / target / linux / generic / patches-3.8 / 100-overlayfs.patch
index 5297c261c434c64215ab9b4e9e712c9023dfc6ed..26f373d1ebfa1590f91c654cbfd14015feca08a4 100644 (file)
  
  /**
   * sb_permission - Check superblock-level permissions
-@@ -2878,9 +2879,12 @@ finish_open_created:
+@@ -2876,9 +2877,12 @@ finish_open_created:
        error = may_open(&nd->path, acc_mode, open_flag);
        if (error)
                goto out;
                goto out;
 --- a/fs/namespace.c
 +++ b/fs/namespace.c
-@@ -1417,6 +1417,24 @@ void drop_collected_mounts(struct vfsmou
+@@ -1421,6 +1421,24 @@ void drop_collected_mounts(struct vfsmou
        release_mounts(&umount_list);
  }
  
  static inline bool execute_ok(struct inode *inode)
 --- a/include/linux/mount.h
 +++ b/include/linux/mount.h
-@@ -66,6 +66,9 @@ extern void mnt_pin(struct vfsmount *mnt
+@@ -68,6 +68,9 @@ extern void mnt_pin(struct vfsmount *mnt
  extern void mnt_unpin(struct vfsmount *mnt);
  extern int __mnt_is_readonly(struct vfsmount *mnt);