Whamcloud - gitweb
b=22360 Check for file_operations .flush fl_owner_t id parameter
authorAndreas Dilger <andreas.dilger@oracle.com>
Wed, 30 Jun 2010 21:09:54 +0000 (23:09 +0200)
committerJohann Lombardi <johann@sun.com>
Wed, 30 Jun 2010 21:09:54 +0000 (23:09 +0200)
commitde536a8e6a668c0f65f9a527fd7eabe36d281547
tree0769b7450f1b9050c4131d4b93ee03d06c38962a
parent5f5c36b6679250cffbdd9c912c0df2038971785a
b=22360  Check for file_operations .flush fl_owner_t id parameter

i=johann

Since 2.6.18 (commit 75e1fcc0b18df0a65ab113198e9dc0e98999a08c) the
file_operations .flush() method has taken an fl_owner_t id parameter.
This is backported to some older vendor kernels, so a simple kernel
version check, as usual, is not sufficient to determine whether this
parameter is present or not.
lustre/autoconf/lustre-core.m4
lustre/llite/file.c