aboutsummaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-08-14 10:35:52 -0700
committerKevin Hilman <khilman@linaro.org>2015-08-14 10:35:52 -0700
commit93ee6d1f0f8bdc7347ca23da99a3395f5a013fdc (patch)
treee78c01a54d9b3f8e696a0af552ce4f2edf1b7388 /fs/dcache.c
parenteb57744377e833c82168b0e8487593d038a67551 (diff)
parent9b8b905951bde404f20a7bd4b37a5134f3484569 (diff)
Merge tag 'v3.14.50' into linux-linaro-lsk-v3.14
This is the 3.14.50 stable release * tag 'v3.14.50': (30 commits) Linux 3.14.50 efi: fix 32bit kernel boot failed problem using efi iscsi-target: Fix iser explicit logout TX kthread leak iscsi-target: Fix use-after-free during TPG session shutdown avr32: handle NULL as a valid clock object vhost: actually track log eventfd file rds: rds_ib_device.refcount overflow x86/efi: Use all 64 bit of efi_memmap in setup_e820() xhci: do not report PLC when link is in internal resume state xhci: prevent bus_suspend if SS port resuming in phase 1 xhci: report U3 when link is in resume state xhci: Calculate old endpoints correctly on device reset usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 ata: pmp: add quirk for Marvell 4140 SATA PMP blkcg: fix gendisk reference leak in blkg_conf_prep() Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen tile: use free_bootmem_late() for initrd md/raid1: fix test for 'was read error from last working device'. mmc: sdhci-pxav3: fix platform_data is not initialized mmc: sdhci-esdhc: Make 8BIT bus work ...
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 87cf545feeeb..8a5fa6a3ab6b 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -587,6 +587,9 @@ repeat:
if (unlikely(d_unhashed(dentry)))
goto kill_it;
+ if (unlikely(dentry->d_flags & DCACHE_DISCONNECTED))
+ goto kill_it;
+
if (unlikely(dentry->d_flags & DCACHE_OP_DELETE)) {
if (dentry->d_op->d_delete(dentry))
goto kill_it;