]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_inode_item.c
[PATCH] vt: fix possible memory corruption in complement_pos
[linux-2.6] / fs / xfs / xfs_inode_item.c
index 768cb1816b8eace41f94f6ffcf9f4c2d8a7e4113..0eed30f5cb19de82e45518bb1f2b08c963f9d7d3 100644 (file)
@@ -910,7 +910,7 @@ xfs_inode_item_committing(
 /*
  * This is the ops vector shared by all buf log items.
  */
-struct xfs_item_ops xfs_inode_item_ops = {
+STATIC struct xfs_item_ops xfs_inode_item_ops = {
        .iop_size       = (uint(*)(xfs_log_item_t*))xfs_inode_item_size,
        .iop_format     = (void(*)(xfs_log_item_t*, xfs_log_iovec_t*))
                                        xfs_inode_item_format,