From: Steve French Date: Fri, 9 May 2008 03:48:05 +0000 (+0000) Subject: [CIFS] fix build warning X-Git-Tag: v5.15~40094^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=af4b3c355cbd38703471e55d11f42d8640db4118;p=mirror_ubuntu-kernels.git [CIFS] fix build warning Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 6fe1bc5bb368..34902cff5400 100644 --- a/fs/cifs/cifsacl.c +++ b/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,