From: adilger Date: Mon, 26 Aug 2002 20:19:53 +0000 (+0000) Subject: Remove ugliness. X-Git-Tag: 0.5.5~53 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c24a0087fa9d02eccf342f3f0d2887a51ccc225e;p=fs%2Flustre-release.git Remove ugliness. --- 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",