projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0630390
)
block: Restore original read_ahead_kb mode
author
LuK1337
<priv.luk@gmail.com>
Tue, 24 Sep 2019 14:53:33 +0000
(16:53 +0200)
committer
ivanmeler
<i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:01 +0000
(21:14 +0000)
* Apex isn't able to write to it without S_IWUSR.
Change-Id: I374b4acb3239bf1f3ab2109e4391671c85131be5
block/blk-sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-sysfs.c
b/block/blk-sysfs.c
index 5d453f25cd6bb36b8eba920c165b34ccc99570fc..e140cc487ce11349ff1917e4e866eccf0a18106c 100644
(file)
--- a/
block/blk-sysfs.c
+++ b/
block/blk-sysfs.c
@@
-355,7
+355,7
@@
static struct queue_sysfs_entry queue_requests_entry = {
};
static struct queue_sysfs_entry queue_ra_entry = {
- .attr = {.name = "read_ahead_kb", .mode = S_IRUGO },
+ .attr = {.name = "read_ahead_kb", .mode = S_IRUGO
| S_IWUSR
},
.show = queue_ra_show,
.store = queue_ra_store,
};