Fix autofs issue in 3.6 (rhbz 874372)
This commit is contained in:
parent
cae88327ab
commit
d44d05a51b
27
don-t-do-blind-d_drop-in-nfs_prime_dcache.patch
Normal file
27
don-t-do-blind-d_drop-in-nfs_prime_dcache.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 696199f8ccf7fc6d17ef89c296ad3b6c78c52d9c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Al Viro <viro@zeniv.linux.org.uk>
|
||||||
|
Date: Thu, 29 Nov 2012 22:00:51 -0500
|
||||||
|
Subject: [PATCH] don't do blind d_drop() in nfs_prime_dcache()
|
||||||
|
|
||||||
|
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
||||||
|
---
|
||||||
|
fs/nfs/dir.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
|
||||||
|
index ce8cb92..99489cf 100644
|
||||||
|
--- a/fs/nfs/dir.c
|
||||||
|
+++ b/fs/nfs/dir.c
|
||||||
|
@@ -450,7 +450,8 @@ void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry)
|
||||||
|
nfs_refresh_inode(dentry->d_inode, entry->fattr);
|
||||||
|
goto out;
|
||||||
|
} else {
|
||||||
|
- d_drop(dentry);
|
||||||
|
+ if (d_invalidate(dentry) != 0)
|
||||||
|
+ goto out;
|
||||||
|
dput(dentry);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
--
|
||||||
|
1.8.0.1
|
||||||
|
|
11
kernel.spec
11
kernel.spec
@ -54,7 +54,7 @@ Summary: The Linux kernel
|
|||||||
# For non-released -rc kernels, this will be appended after the rcX and
|
# For non-released -rc kernels, this will be appended after the rcX and
|
||||||
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
|
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
|
||||||
#
|
#
|
||||||
%global baserelease 1
|
%global baserelease 2
|
||||||
%global fedora_build %{baserelease}
|
%global fedora_build %{baserelease}
|
||||||
|
|
||||||
# base_sublevel is the kernel version we're starting with and patching
|
# base_sublevel is the kernel version we're starting with and patching
|
||||||
@ -729,6 +729,9 @@ Patch21234: mac80211-fix-ibss-scanning.patch
|
|||||||
#rhbz 873107
|
#rhbz 873107
|
||||||
Patch21237: 0001-ACPI-sony-laptop-do-proper-memcpy-for-ACPI_TYPE_INTE.patch
|
Patch21237: 0001-ACPI-sony-laptop-do-proper-memcpy-for-ACPI_TYPE_INTE.patch
|
||||||
|
|
||||||
|
#rhbz 874372
|
||||||
|
Patch21238: don-t-do-blind-d_drop-in-nfs_prime_dcache.patch
|
||||||
|
|
||||||
# END OF PATCH DEFINITIONS
|
# END OF PATCH DEFINITIONS
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
@ -1375,6 +1378,9 @@ ApplyPatch mac80211-fix-ibss-scanning.patch
|
|||||||
#rhbz 873107
|
#rhbz 873107
|
||||||
ApplyPatch 0001-ACPI-sony-laptop-do-proper-memcpy-for-ACPI_TYPE_INTE.patch
|
ApplyPatch 0001-ACPI-sony-laptop-do-proper-memcpy-for-ACPI_TYPE_INTE.patch
|
||||||
|
|
||||||
|
#rhbz 874372
|
||||||
|
ApplyPatch don-t-do-blind-d_drop-in-nfs_prime_dcache.patch
|
||||||
|
|
||||||
|
|
||||||
# END OF PATCH APPLICATIONS
|
# END OF PATCH APPLICATIONS
|
||||||
|
|
||||||
@ -2076,6 +2082,9 @@ fi
|
|||||||
# and build.
|
# and build.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 02 2013 Josh Boyer <jwboyer@redhat.com>
|
||||||
|
- Fix autofs issue in 3.6 (rhbz 874372)
|
||||||
|
|
||||||
* Mon Dec 17 2012 Josh Boyer <jwboyer@redhat.com> - 3.6.11-1
|
* Mon Dec 17 2012 Josh Boyer <jwboyer@redhat.com> - 3.6.11-1
|
||||||
- Linux v3.6.11
|
- Linux v3.6.11
|
||||||
- Fix oops in sony-laptop setup (rhbz 873107)
|
- Fix oops in sony-laptop setup (rhbz 873107)
|
||||||
|
Loading…
Reference in New Issue
Block a user