[PATCH] Make most file operations structs in fs/ const
[linux-block.git] / fs / hfs / dir.c
index 534e5a7480efc8626c00347fa4e22e9d9dc412ee..7cd8cc03aea7790159aa7ce5263e73655dabfd8d 100644 (file)
@@ -313,7 +313,7 @@ static int hfs_rename(struct inode *old_dir, struct dentry *old_dentry,
        return res;
 }
 
-struct file_operations hfs_dir_operations = {
+const struct file_operations hfs_dir_operations = {
        .read           = generic_read_dir,
        .readdir        = hfs_readdir,
        .llseek         = generic_file_llseek,