X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fnfs%2Fnfs4proc.c;h=b790976d39135de899c1b70a08f75059247e2236;hb=a66b4cd1e7163adb327838a3c81faaf6a9330d5a;hp=f6c4ccd693f49acf99663f531ba7f4dd2940dd52;hpb=203b4fc903b644223a27ad3f25f3a0f3a3911d1d;p=linux-2.6-microblaze.git diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index f6c4ccd693f4..b790976d3913 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2951,7 +2951,7 @@ static int _nfs4_do_open(struct inode *dir, } } if (opened && opendata->file_created) - *opened |= FILE_CREATED; + *opened = 1; if (pnfs_use_threshold(ctx_th, opendata->f_attr.mdsthreshold, server)) { *ctx_th = opendata->f_attr.mdsthreshold;