Ver código fonte

[CIFS] fix build warning

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 17 anos atrás
pai
commit
af4b3c355c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      fs/cifs/cifsacl.c

+ 1 - 1
fs/cifs/cifsacl.c

@@ -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,