summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsacl.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-05-09 05:48:05 +0200
committerSteve French <sfrench@us.ibm.com>2008-05-09 05:48:05 +0200
commitaf4b3c355cbd38703471e55d11f42d8640db4118 (patch)
tree8425a90a4e3bce73f1bb18d4e76be688a1f3c451 /fs/cifs/cifsacl.c
parent[CIFS] Fixed build warning in is_ip (diff)
downloadlinux-af4b3c355cbd38703471e55d11f42d8640db4118.tar.xz
linux-af4b3c355cbd38703471e55d11f42d8640db4118.zip
[CIFS] fix build warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsacl.c')
-rw-r--r--fs/cifs/cifsacl.c2
1 files changed, 1 insertions, 1 deletions
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,