[PATCH] Make most file operations structs in fs/ const
[deliverable/linux.git] / fs / sysfs / dir.c
index 9ee956864445e54025343eab41b9ed5da4dc8665..f26880a4785eec127e80ce736144624c3016098c 100644 (file)
@@ -503,7 +503,7 @@ static loff_t sysfs_dir_lseek(struct file * file, loff_t offset, int origin)
        return offset;
 }
 
-struct file_operations sysfs_dir_operations = {
+const struct file_operations sysfs_dir_operations = {
        .open           = sysfs_dir_open,
        .release        = sysfs_dir_close,
        .llseek         = sysfs_dir_lseek,
This page took 0.026692 seconds and 5 git commands to generate.