From a104965ab045fb397c8850f4434235bfc2bb9623 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 26 Jan 2016 11:51:03 +0100 Subject: build: Fix install targets for use with DESTDIR Signed-off-by: Tobias Klauser --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3e4205d..a80aa7b 100644 --- a/Makefile +++ b/Makefile @@ -59,12 +59,12 @@ $(Q_P): $(Q_OBJS) install_$(D_P): $(D_P) @echo " INSTALL $(D_P)" @$(INSTALL) -d -m 755 $(DESTDIR)$(SBINDIR) - @$(INSTALL) -m 755 $(D_P) $(SBINDIR)/$(D_P) + @$(INSTALL) -m 755 $(D_P) $(DESTDIR)$(SBINDIR)/$(D_P) install_$(Q_P): $(Q_P) @echo " INSTALL $(Q_P)" @$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) - @$(INSTALL) -m 755 $(Q_P) $(BINDIR)/$(Q_P) + @$(INSTALL) -m 755 $(Q_P) $(DESTDIR)$(BINDIR)/$(Q_P) install: install_$(D_P) install_$(Q_P) -- cgit v1.2.3-54-g00ecf index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKashyap Desai <kashyap.desai@broadcom.com>2016-10-21 06:33:32 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2016-10-24 21:31:43 -0400
commit1e793f6fc0db920400574211c48f9157a37e3945 (patch)
tree5c2b23a174bd21b90c81e34f7ebfe265e8468077 /Documentation/translations/zh_CN
parent77f18a87186a87cab2a027335758a7244896084c (diff)
scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
Commit 02b01e010afe ("megaraid_sas: return sync cache call with success") modified the driver to successfully complete SYNCHRONIZE_CACHE commands without passing them to the controller. Disk drive caches are only explicitly managed by controller firmware when operating in RAID mode. So this commit effectively disabled writeback cache flushing for any drives used in JBOD mode, leading to data integrity failures. [mkp: clarified patch description] Fixes: 02b01e010afeeb49328d35650d70721d2ca3fd59 CC: stable@vger.kernel.org Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/translations/zh_CN')