]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ceph, cifs, nfs, fuse: boolean and / or confusion
authorroel <roel.kluin@gmail.com>
Fri, 16 Dec 2011 04:50:05 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 20 Dec 2011 07:43:43 +0000 (18:43 +1100)
commit6ef09d56e1f8a402ff2fb60430e222b499f3061e
treed291d5cc6224209cadcdcf7f4950266fcb83217a
parent9b1b3487b89efa4a91ddb699638fa3e616473a3f
ceph, cifs, nfs, fuse: boolean and / or confusion

The test not SEEK_CUR or not SEEK_SET always evaluates to true.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Sage Weil <sage@newdream.net>
Cc: Steve French <sfrench@samba.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/cifs/cifsfs.c