X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fhfs%2Finode.c;h=fafcba593871889efb1e193e4b818515e40725ca;hb=5351fb106a84d6ac584c2501e3b335093d38a58c;hp=5cb7f8fee8d6501d53e8a1931a07feafb502f8c6;hpb=eb991b39385c7b04923d701764a34694ec54b53d;p=powerpc.git diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index 5cb7f8fee8..fafcba5938 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c @@ -18,7 +18,7 @@ #include "btree.h" static const struct file_operations hfs_file_operations; -static struct inode_operations hfs_file_inode_operations; +static const struct inode_operations hfs_file_inode_operations; /*================ Variable-like macros ================*/ @@ -612,7 +612,7 @@ static const struct file_operations hfs_file_operations = { .release = hfs_file_release, }; -static struct inode_operations hfs_file_inode_operations = { +static const struct inode_operations hfs_file_inode_operations = { .lookup = hfs_file_lookup, .truncate = hfs_file_truncate, .setattr = hfs_inode_setattr,