From c24a0087fa9d02eccf342f3f0d2887a51ccc225e Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 26 Aug 2002 20:19:53 +0000 Subject: [PATCH] Remove ugliness. --- lustre/obdfs/rw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdfs/rw.c b/lustre/obdfs/rw.c index 670538b..e4b690d 100644 --- a/lustre/obdfs/rw.c +++ b/lustre/obdfs/rw.c @@ -683,7 +683,7 @@ void obdfs_truncate(struct inode *inode) err = -ENOMEM; CERROR("obdo_alloc failed!\n"); } else { - oa->o_valid = (__u32)OBD_MD_FLNOTOBD; + oa->o_valid = OBD_MD_FLNOTOBD; obdfs_from_inode(oa, inode); CDEBUG(D_INFO, "calling punch for %ld (%Lu bytes at 0)\n", -- 1.8.3.1