[PATCH] Make most file operations structs in fs/ const
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / ntfs / dir.c
index 9d9ed3fe371db95e42428a654a0f73f60996d03c..d1e2c6f9f05eed155e257b0524da8cc2ff5e4566 100644 (file)
@@ -1553,7 +1553,7 @@ static int ntfs_dir_fsync(struct file *filp, struct dentry *dentry,
 
 #endif /* NTFS_RW */
 
-struct file_operations ntfs_dir_ops = {
+const struct file_operations ntfs_dir_ops = {
        .llseek         = generic_file_llseek,  /* Seek inside directory. */
        .read           = generic_read_dir,     /* Return -EISDIR. */
        .readdir        = ntfs_readdir,         /* Read directory contents. */