]> err.no Git - linux-2.6/commitdiff
[CIFS] fix build warning
authorSteve French <sfrench@us.ibm.com>
Fri, 9 May 2008 03:48:05 +0000 (03:48 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 9 May 2008 03:48:05 +0000 (03:48 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsacl.c

index 6fe1bc5bb368438dfbd1edc8a7a3ecd0d5f2b6b9..34902cff540059988efa9e014b76cc63a8b10d15 100644 (file)
@@ -589,7 +589,7 @@ static struct cifs_ntsd *get_cifs_acl(u32 *pacllen, struct inode *inode,
                unlock_file = true;
                fid = open_file->netfid;
        } else if (pfid == NULL) {
-               bool oplock = false;
+               int oplock = 0;
                /* open file */
                rc = CIFSSMBOpen(xid, cifs_sb->tcon, path, FILE_OPEN,
                                READ_CONTROL, 0, &fid, &oplock, NULL,