]> git.baikalelectronics.ru Git - kernel.git/commit
fat: constify fatent_operations structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 20 Jan 2016 22:59:52 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit9d72db60a28b09c92e96aa18139cdd0cdadd8b75
tree6a7224b6f0090c972cdcd9e40635edf1a8b6d83a
parentf3b9afe94b3d1a328bca4d8f7a184445062c05a5
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>
fs/fat/fat.h
fs/fat/fatent.c