diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-01-21 01:59:52 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 04:09:18 +0300 |
commit | 8992de4cec126c6703ece0747239d071dbce725f (patch) | |
tree | 6a7224b6f0090c972cdcd9e40635edf1a8b6d83a /fs/fat/fat.h | |
parent | 28016128d37a46d89ac5d9a450709284148989d6 (diff) | |
download | linux-8992de4cec126c6703ece0747239d071dbce725f.tar.xz |
fat: constify fatent_operations structures
The fatent_operations structures are never modified, so declare them as
const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r-- | fs/fat/fat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index 4307cd4f8da0..e6b764a17a9c 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h @@ -87,7 +87,7 @@ struct msdos_sb_info { unsigned int vol_id; /*volume ID*/ int fatent_shift; - struct fatent_operations *fatent_ops; + const struct fatent_operations *fatent_ops; struct inode *fat_inode; struct inode *fsinfo_inode; |