From 0ceba1e997bf4f2539aa682dad2f9e1c1ad61917 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Wed, 20 Feb 2008 12:49:02 -0800 Subject: [PATCH] --- yaml --- r: 92827 b: refs/heads/master c: 3ba1514815817f93a4f09615726dd4bcd0ddbbc9 h: refs/heads/master i: 92825: 041416fc95e5c17c7df47fe549e7e3736d1a3445 92823: f824dcbc55af24013fd99613e796be1ce8c06e21 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/vfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 4336996d1bcd..39d29140145f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a254b246ee238ab90e7b3fae1f76875b608b2213 +refs/heads/master: 3ba1514815817f93a4f09615726dd4bcd0ddbbc9 diff --git a/trunk/fs/nfsd/vfs.c b/trunk/fs/nfsd/vfs.c index d5a238e6e6ed..832e2b86c541 100644 --- a/trunk/fs/nfsd/vfs.c +++ b/trunk/fs/nfsd/vfs.c @@ -988,7 +988,7 @@ nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, * flushing the data to disk is handled separately below. */ - if (file->f_op->fsync == 0) {/* COMMIT3 cannot work */ + if (!file->f_op->fsync) {/* COMMIT3 cannot work */ stable = 2; *stablep = 2; /* FILE_SYNC */ }