]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
scsi: hisi_sas: Modify the file permissions of trigger_dump to write only
authorLuo Jiaxing <luojiaxing@huawei.com>
Mon, 20 Jan 2020 12:22:34 +0000 (20:22 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 3 Apr 2020 13:17:23 +0000 (15:17 +0200)
commit799ca3ff0231322c73f1bc62ec073e29d6f2f369
tree6d0e5ba30e3b71ec2b12276c3fd4c41a31a93d6c
parentaab52fa32f81784b5029994537fc7432179db5af
scsi: hisi_sas: Modify the file permissions of trigger_dump to write only

BugLink: https://launchpad.net/bugs/1867587
The trigger_dump file is only used to manually trigger the dump, and did
not provide a read callback function for it, so its file permission
setting to 600 is wrong,and should be changed to 200.

Link: https://lore.kernel.org/r/1579522957-4393-5-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 3cd2f3c35d29a50947a975feffdcbe2d6a2418c0)
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/scsi/hisi_sas/hisi_sas_main.c