diff options
Diffstat (limited to 'fs/hppfs/hppfs_kern.c')
-rw-r--r-- | fs/hppfs/hppfs_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hppfs/hppfs_kern.c b/fs/hppfs/hppfs_kern.c index a44dc5897399..2ba20cdb5baa 100644 --- a/fs/hppfs/hppfs_kern.c +++ b/fs/hppfs/hppfs_kern.c | |||
@@ -558,7 +558,7 @@ static loff_t hppfs_llseek(struct file *file, loff_t off, int where) | |||
558 | return(default_llseek(file, off, where)); | 558 | return(default_llseek(file, off, where)); |
559 | } | 559 | } |
560 | 560 | ||
561 | static struct file_operations hppfs_file_fops = { | 561 | static const struct file_operations hppfs_file_fops = { |
562 | .owner = NULL, | 562 | .owner = NULL, |
563 | .llseek = hppfs_llseek, | 563 | .llseek = hppfs_llseek, |
564 | .read = hppfs_read, | 564 | .read = hppfs_read, |
@@ -609,7 +609,7 @@ static int hppfs_fsync(struct file *file, struct dentry *dentry, int datasync) | |||
609 | return(0); | 609 | return(0); |
610 | } | 610 | } |
611 | 611 | ||
612 | static struct file_operations hppfs_dir_fops = { | 612 | static const struct file_operations hppfs_dir_fops = { |
613 | .owner = NULL, | 613 | .owner = NULL, |
614 | .readdir = hppfs_readdir, | 614 | .readdir = hppfs_readdir, |
615 | .open = hppfs_dir_open, | 615 | .open = hppfs_dir_open, |