X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fbuffer.c;h=373bb6292bdc137a606296c7864093470d41b00f;hb=098d5af7be694c66af44093f7217da3d22af1057;hp=23f1f3a68077b87c947a350ee57b30ee3aa94ed6;hpb=5b67e8dd5ae889fea7d01b905a570fa9a37b8785;p=linux-2.6 diff --git a/fs/buffer.c b/fs/buffer.c index 23f1f3a680..373bb6292b 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -331,7 +331,6 @@ long do_fsync(struct file *file, int datasync) goto out; } - current->flags |= PF_SYNCWRITE; ret = filemap_fdatawrite(mapping); /* @@ -346,7 +345,6 @@ long do_fsync(struct file *file, int datasync) err = filemap_fdatawait(mapping); if (!ret) ret = err; - current->flags &= ~PF_SYNCWRITE; out: return ret; }