block drivers/block: Use octal not symbolic permissions
[linux-2.6-block.git] / block / cfq-iosched.c
index 6b9f6b1cd33b99f323a9c29c5c48fe8162f9fc8c..82b6c27b3245512dfa42a718149067e71c028705 100644 (file)
@@ -4786,7 +4786,7 @@ USEC_STORE_FUNCTION(cfq_target_latency_us_store, &cfqd->cfq_target_latency, 1, U
 #undef USEC_STORE_FUNCTION
 
 #define CFQ_ATTR(name) \
-       __ATTR(name, S_IRUGO|S_IWUSR, cfq_##name##_show, cfq_##name##_store)
+       __ATTR(name, 0644, cfq_##name##_show, cfq_##name##_store)
 
 static struct elv_fs_entry cfq_attrs[] = {
        CFQ_ATTR(quantum),