OSDN Git Service

ocfs2: remove mostly unused field from insert structure
authorTao Mao <tao.ma@oracle.com>
Wed, 29 Aug 2007 00:22:33 +0000 (17:22 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:32 +0000 (11:54 -0700)
commitc77534f6fb6d58e27d923b6825ea3b0ef485ab26
tree0002821236678d0206d66e73939c99239cfa9eb3
parent782e3b3b3804c38d5130c7f21d7ec7bf6709023f
ocfs2: remove mostly unused field from insert structure

ocfs2_insert_type->ins_free_records was only used in one place, and was set
incorrectly in most places. We can free up some memory and lose some code by
removing this.

* Small warning fixup contributed by Andrew Mortom <akpm@linux-foundation.org>

Signed-off-by: Tao Mao <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/alloc.c