projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CIFS] Fix walking out end of cifs dacl
[powerpc.git]
/
fs
/
cifs
/
xattr.c
diff --git
a/fs/cifs/xattr.c
b/fs/cifs/xattr.c
index
12b125f
..
54e8ef9
100644
(file)
--- a/
fs/cifs/xattr.c
+++ b/
fs/cifs/xattr.c
@@
-267,7
+267,7
@@
ssize_t cifs_getxattr(struct dentry *direntry, const char *ea_name,
int oplock = FALSE;
struct cifs_ntsd *pacl = NULL;
__u32 buflen = 0;
int oplock = FALSE;
struct cifs_ntsd *pacl = NULL;
__u32 buflen = 0;
- if (experimEnabled)
+ if (experimEnabled)
rc = CIFSSMBOpen(xid, pTcon, full_path,
FILE_OPEN, GENERIC_READ, 0, &fid,
&oplock, NULL, cifs_sb->local_nls,
rc = CIFSSMBOpen(xid, pTcon, full_path,
FILE_OPEN, GENERIC_READ, 0, &fid,
&oplock, NULL, cifs_sb->local_nls,
@@
-275,7
+275,7
@@
ssize_t cifs_getxattr(struct dentry *direntry, const char *ea_name,
CIFS_MOUNT_MAP_SPECIAL_CHR);
/* else rc is EOPNOTSUPP from above */
CIFS_MOUNT_MAP_SPECIAL_CHR);
/* else rc is EOPNOTSUPP from above */
- if(rc == 0) {
+ if
(rc == 0) {
rc = CIFSSMBGetCIFSACL(xid, pTcon, fid, &pacl,
&buflen);
CIFSSMBClose(xid, pTcon, fid);
rc = CIFSSMBGetCIFSACL(xid, pTcon, fid, &pacl,
&buflen);
CIFSSMBClose(xid, pTcon, fid);