NFS: Fix an f_mode/f_flags confusion in fs/nfs/write.c
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 25 Feb 2008 23:56:29 +0000 (15:56 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 25 Feb 2008 23:56:29 +0000 (15:56 -0800)
commit4b5621f6b127bce9218998c187bd25bf7f9fc371
tree5de8a786af7abdc9e26f59ebd8b1639e85745591
parentbfa274e2436fc7ef72ef51c878083647f1cfd429
NFS: Fix an f_mode/f_flags confusion in fs/nfs/write.c

O_SYNC is stored in filp->f_flags.
Thanks to Al Viro for pointing out the bug.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c