aboutsummaryrefslogtreecommitdiff
path: root/fs/dyn_sync_cntrl.c
diff options
context:
space:
mode:
authorfire855 <thefire855@gmail.com>2017-05-29 21:42:00 +0200
committerMister Oyster <oysterized@gmail.com>2017-09-22 20:35:06 +0200
commit4f2c2acdb0535c79f264ec418668f4c80f6f0431 (patch)
tree6e45a3185890b0704eb5ecad744ef4410b77524a /fs/dyn_sync_cntrl.c
parentfc96d7ee10c24e5f272771c69970759af15f1a17 (diff)
fs: reduce permissions of dynamic sync control sysfs to 0660
this fixes compiling because 0666 isn't allowed
Diffstat (limited to 'fs/dyn_sync_cntrl.c')
-rw-r--r--fs/dyn_sync_cntrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dyn_sync_cntrl.c b/fs/dyn_sync_cntrl.c
index f80cf61d9..1524eea47 100644
--- a/fs/dyn_sync_cntrl.c
+++ b/fs/dyn_sync_cntrl.c
@@ -79,7 +79,7 @@ static ssize_t dyn_fsync_earlysuspend_show(struct kobject *kobj,
}
static struct kobj_attribute dyn_fsync_active_attribute =
- __ATTR(Dyn_fsync_active, 0666,
+ __ATTR(Dyn_fsync_active, 0660,
dyn_fsync_active_show,
dyn_fsync_active_store);