X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fntfs%2Ffile.c;h=c63a83e8da98b7d6737de1969a86f9c5ed066e35;hb=4b6f5d20b04dcbc3d888555522b90ba6d36c4106;hp=f5d057e4acc2a141e07f3b0a5e2755d3ce93f073;hpb=99ac48f54a91d02140c497edc31dc57d4bc5c85d;p=deliverable%2Flinux.git diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index f5d057e4acc2..c63a83e8da98 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c @@ -2294,7 +2294,7 @@ static int ntfs_file_fsync(struct file *filp, struct dentry *dentry, #endif /* NTFS_RW */ -struct file_operations ntfs_file_ops = { +const struct file_operations ntfs_file_ops = { .llseek = generic_file_llseek, /* Seek inside file. */ .read = generic_file_read, /* Read from file. */ .aio_read = generic_file_aio_read, /* Async read from file. */ @@ -2337,6 +2337,6 @@ struct inode_operations ntfs_file_inode_ops = { #endif /* NTFS_RW */ }; -struct file_operations ntfs_empty_file_ops = {}; +const struct file_operations ntfs_empty_file_ops = {}; struct inode_operations ntfs_empty_inode_ops = {};