diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-08 23:48:05 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-08 23:48:05 -0400 |
commit | af4b3c355cbd38703471e55d11f42d8640db4118 (patch) | |
tree | 8425a90a4e3bce73f1bb18d4e76be688a1f3c451 /fs | |
parent | 7c5e628f95b440b69332b1ed3eb112648fc8f7ff (diff) |
[CIFS] fix build warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/cifsacl.c | 2 |
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, | |||
589 | unlock_file = true; | 589 | unlock_file = true; |
590 | fid = open_file->netfid; | 590 | fid = open_file->netfid; |
591 | } else if (pfid == NULL) { | 591 | } else if (pfid == NULL) { |
592 | bool oplock = false; | 592 | int oplock = 0; |
593 | /* open file */ | 593 | /* open file */ |
594 | rc = CIFSSMBOpen(xid, cifs_sb->tcon, path, FILE_OPEN, | 594 | rc = CIFSSMBOpen(xid, cifs_sb->tcon, path, FILE_OPEN, |
595 | READ_CONTROL, 0, &fid, &oplock, NULL, | 595 | READ_CONTROL, 0, &fid, &oplock, NULL, |