Whamcloud - gitweb
LU-2675 lustre: remove linux/obd_class.h
[fs/lustre-release.git] / lustre / obdclass / obdo.c
index 767cf74..7765fe5 100644 (file)
@@ -108,7 +108,7 @@ void obdo_from_inode(struct obdo *dst, struct inode *src, obd_flag valid)
                newvalid |= OBD_MD_FLGID;
        }
        if (valid & OBD_MD_FLFLAGS) {
-               dst->o_flags = ll_inode_flags(src);
+               dst->o_flags = src->i_flags;
                newvalid |= OBD_MD_FLFLAGS;
        }
        dst->o_valid |= newvalid;