*/
/*
* This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
*
* lustre/obdclass/linux/linux-obdo.c
*
dst->o_flags = la->la_flags;
newvalid |= OBD_MD_FLFLAGS;
}
+ if (valid & LA_NLINK) {
+ dst->o_nlink = la->la_nlink;
+ newvalid |= OBD_MD_FLNLINK;
+ }
dst->o_valid |= newvalid;
}
EXPORT_SYMBOL(obdo_from_la);
dst->la_flags = obdo->o_flags;
newvalid |= LA_FLAGS;
}
+ if (valid & OBD_MD_FLNLINK) {
+ dst->la_nlink = obdo->o_nlink;
+ newvalid |= LA_NLINK;
+ }
dst->la_valid = newvalid;
}
EXPORT_SYMBOL(la_from_obdo);