From af4b3c355cbd38703471e55d11f42d8640db4118 Mon Sep 17 00:00:00 2001 From: Steve French Date: Fri, 9 May 2008 03:48:05 +0000 Subject: [PATCH] [CIFS] fix build warning Signed-off-by: Steve French --- fs/cifs/cifsacl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 6fe1bc5bb3..34902cff54 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, -- 2.39.5