Whamcloud - gitweb
b=11742 OBD_FL_MMAP should only be used in conjunction with OBD_MD_FLFLAGS
authorJohann Lombardi <johann@sun.com>
Thu, 24 Jun 2010 08:43:00 +0000 (10:43 +0200)
committerJohann Lombardi <johann@sun.com>
Thu, 24 Jun 2010 08:43:00 +0000 (10:43 +0200)
commit500a1d77a49ed18fcf36a87258805827a8350085
treedf16454d077aca6981c6af17210126232ac0e7db
parentc5bb9941bd1e50f3f41206d2182b264c1f62a523
b=11742 OBD_FL_MMAP should only be used in conjunction with OBD_MD_FLFLAGS

i=adilger
i=dmitry

The patch from bug 11742 uses oa.o_flags without setting OBD_MD_FLFLAGS
in oa.o_valid. This is wrong since anybody can legitimately reset o_flags
if OBD_MD_FLFLAGS is not set (e.g. the checksum code does this).
lustre/llite/rw.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c