diff --git a/Add-option-to-automatically-enforce-module-signature.patch b/Add-option-to-automatically-enforce-module-signature.patch index 9116a71e7..17f877a5c 100644 --- a/Add-option-to-automatically-enforce-module-signature.patch +++ b/Add-option-to-automatically-enforce-module-signature.patch @@ -163,10 +163,10 @@ index cdc46a791b9d..0c1edd33a42c 100644 extern int modules_disabled; /* for sysctl */ diff --git a/kernel/module.c b/kernel/module.c -index f43cbdd52546..feb6736fec91 100644 +index 17738285d7a2..e7065d683640 100644 --- a/kernel/module.c +++ b/kernel/module.c -@@ -3913,6 +3913,13 @@ void module_layout(struct module *mod, +@@ -3916,6 +3916,13 @@ void module_layout(struct module *mod, EXPORT_SYMBOL(module_layout); #endif diff --git a/Add-secure_modules-call.patch b/Add-secure_modules-call.patch index 79ccc5c2a..712f69dfe 100644 --- a/Add-secure_modules-call.patch +++ b/Add-secure_modules-call.patch @@ -41,10 +41,10 @@ index c883b86ea964..cdc46a791b9d 100644 #ifdef CONFIG_SYSFS diff --git a/kernel/module.c b/kernel/module.c -index 42a1d2afb217..f43cbdd52546 100644 +index cfc9e843a924..17738285d7a2 100644 --- a/kernel/module.c +++ b/kernel/module.c -@@ -3912,3 +3912,13 @@ void module_layout(struct module *mod, +@@ -3915,3 +3915,13 @@ void module_layout(struct module *mod, } EXPORT_SYMBOL(module_layout); #endif diff --git a/Add-sysrq-option-to-disable-secure-boot-mode.patch b/Add-sysrq-option-to-disable-secure-boot-mode.patch index 0ff29e9f9..8c7c071d3 100644 --- a/Add-sysrq-option-to-disable-secure-boot-mode.patch +++ b/Add-sysrq-option-to-disable-secure-boot-mode.patch @@ -228,7 +228,7 @@ index 4121345498e0..0ff3cef5df96 100644 return 0; diff --git a/kernel/module.c b/kernel/module.c -index feb6736fec91..5ea645737f23 100644 +index e7065d683640..731d2653c60d 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -107,9 +107,9 @@ struct list_head *kdb_modules = &modules; /* kdb needs the list of modules */ diff --git a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch index 126f78154..61e84821e 100644 --- a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch +++ b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch @@ -43,7 +43,7 @@ Signed-off-by: Josh Stone 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index 92a707859205..24bd79cbc379 100644 +index aee7e5cb4c15..febebdf01b8b 100644 --- a/Makefile +++ b/Makefile @@ -704,7 +704,11 @@ KBUILD_CFLAGS += -fomit-frame-pointer diff --git a/arm-dts-am335x-boneblack-add-cpu0-opp-points.patch b/arm-dts-am335x-boneblack-add-cpu0-opp-points.patch index edd9a3c9b..b3ac27e23 100644 --- a/arm-dts-am335x-boneblack-add-cpu0-opp-points.patch +++ b/arm-dts-am335x-boneblack-add-cpu0-opp-points.patch @@ -8,7 +8,7 @@ Signed-off-by: Robert Nelson 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts -index 0fd89c38cf02..20660917a06f 100644 +index 5dcdcd173572..38439e097b26 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts @@ -71,6 +71,24 @@ diff --git a/arm-dts-am335x-boneblack-lcdc-add-panel-info.patch b/arm-dts-am335x-boneblack-lcdc-add-panel-info.patch index 97f31f604..4e6d056aa 100644 --- a/arm-dts-am335x-boneblack-lcdc-add-panel-info.patch +++ b/arm-dts-am335x-boneblack-lcdc-add-panel-info.patch @@ -11,10 +11,10 @@ Signed-off-by: Robert Nelson 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts -index 5c42d259fa68..0fd89c38cf02 100644 +index 901739fcb85a..5dcdcd173572 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts -@@ -78,6 +78,19 @@ +@@ -78,5 +78,18 @@ pinctrl-0 = <&nxp_hdmi_bonelt_pins>; pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>; status = "okay"; @@ -33,4 +33,3 @@ index 5c42d259fa68..0fd89c38cf02 100644 + }; }; }; - diff --git a/kernel.spec b/kernel.spec index 0b988f9fb..de7638720 100644 --- a/kernel.spec +++ b/kernel.spec @@ -65,7 +65,7 @@ Summary: The Linux kernel # The next upstream release sublevel (base_sublevel+1) %define upstream_sublevel %(echo $((%{base_sublevel} + 1))) # The rc snapshot level -%define rcrev 5 +%define rcrev 6 # The git snapshot level %define gitrev 0 # Set rpm version accordingly @@ -601,9 +601,6 @@ Patch26176: Input-synaptics-pin-3-touches-when-the-firmware-repo.patch #rhbz 1210857 Patch26192: blk-loop-avoid-too-many-pending-per-work-IO.patch -#rhbz 1220915 -Patch26201: ovl-don-t-remove-non-empty-opaque-directory.patch - #rhbz 1220118 Patch26202: media-Fix-regression-in-some-more-dib0700-based-devi.patch @@ -1331,9 +1328,6 @@ ApplyPatch Input-synaptics-pin-3-touches-when-the-firmware-repo.patch #rhbz 1210857 ApplyPatch blk-loop-avoid-too-many-pending-per-work-IO.patch -#rhbz 1220915 -ApplyPatch ovl-don-t-remove-non-empty-opaque-directory.patch - #rhbz 1220118 ApplyPatch media-Fix-regression-in-some-more-dib0700-based-devi.patch @@ -2202,6 +2196,9 @@ fi # # %changelog +* Mon Jun 01 2015 Josh Boyer - 4.1.0-0.rc6.git0.1 +- Linux v4.1-rc6 + * Thu May 28 2015 Josh Boyer - Add quirk for Mac Pro backlight (rhbz 1217249) diff --git a/ovl-don-t-remove-non-empty-opaque-directory.patch b/ovl-don-t-remove-non-empty-opaque-directory.patch deleted file mode 100644 index 1f29e1efc..000000000 --- a/ovl-don-t-remove-non-empty-opaque-directory.patch +++ /dev/null @@ -1,57 +0,0 @@ -From: Miklos Szeredi -Date: Thu, 14 May 2015 10:04:44 +0200 -Subject: [PATCH] ovl: don't remove non-empty opaque directory - -When removing an opaque directory we can't just call rmdir() to check for -emptiness, because the directory will need to be replaced with a whiteout. -The replacement is done with RENAME_EXCHANGE, which doesn't check -emptiness. - -Solution is just to check emptiness by reading the directory. In the -future we could add a new rename flag to check for emptiness even for -RENAME_EXCHANGE to optimize this case. - -Reported-by: Vincent Batts -Signed-off-by: Miklos Szeredi -Tested-by: Jordi Pujol Palomer -Fixes: 263b4a0fee43 ("ovl: dont replace opaque dir") -Cc: # v4.0+ ---- - fs/overlayfs/dir.c | 24 +++++++++++++++++++----- - 1 file changed, 19 insertions(+), 5 deletions(-) - -diff --git a/fs/overlayfs/dir.c b/fs/overlayfs/dir.c -index d139405d2bfa..2578a0c0677d 100644 ---- a/fs/overlayfs/dir.c -+++ b/fs/overlayfs/dir.c -@@ -506,11 +506,25 @@ static int ovl_remove_and_whiteout(struct dentry *dentry, bool is_dir) - struct dentry *opaquedir = NULL; - int err; - -- if (is_dir && OVL_TYPE_MERGE_OR_LOWER(ovl_path_type(dentry))) { -- opaquedir = ovl_check_empty_and_clear(dentry); -- err = PTR_ERR(opaquedir); -- if (IS_ERR(opaquedir)) -- goto out; -+ if (is_dir) { -+ if (OVL_TYPE_MERGE_OR_LOWER(ovl_path_type(dentry))) { -+ opaquedir = ovl_check_empty_and_clear(dentry); -+ err = PTR_ERR(opaquedir); -+ if (IS_ERR(opaquedir)) -+ goto out; -+ } else { -+ LIST_HEAD(list); -+ -+ /* -+ * When removing an empty opaque directory, then it -+ * makes no sense to replace it with an exact replica of -+ * itself. But emptiness still needs to be checked. -+ */ -+ err = ovl_check_empty_dir(dentry, &list); -+ ovl_cache_free(&list); -+ if (err) -+ goto out; -+ } - } - - err = ovl_lock_rename_workdir(workdir, upperdir); diff --git a/sources b/sources index f4d611184..8ad753af9 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ a86916bd12798220da9eb4a1eec3616d linux-4.0.tar.xz d125eecce68ab6fb5f1f23523c2c04b8 perf-man-4.0.tar.gz -5c417954755b5e19b826a7794e224dac patch-4.1-rc5.xz +85b103229fdd302a650adbd1d3473fd1 patch-4.1-rc6.xz