xattr.c (1ac731c529cd4d6adbce134754b51ff7d822b145) xattr.c (318e1c7e61c42a2066f511bf850c943ffb09f73c)
1// SPDX-License-Identifier: LGPL-2.1
2/*
3 *
4 * Copyright (c) International Business Machines Corp., 2003, 2007
5 * Author(s): Steve French (sfrench@us.ibm.com)
6 *
7 */
8

--- 136 unchanged lines hidden (view full) ---

145 if (rc == 0) /* force revalidate of the inode */
146 CIFS_I(inode)->time = 0;
147 break;
148 }
149
150 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR)
151 goto out;
152
1// SPDX-License-Identifier: LGPL-2.1
2/*
3 *
4 * Copyright (c) International Business Machines Corp., 2003, 2007
5 * Author(s): Steve French (sfrench@us.ibm.com)
6 *
7 */
8

--- 136 unchanged lines hidden (view full) ---

145 if (rc == 0) /* force revalidate of the inode */
146 CIFS_I(inode)->time = 0;
147 break;
148 }
149
150 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR)
151 goto out;
152
153 if (pTcon->ses->server->ops->set_EA)
153 if (pTcon->ses->server->ops->set_EA) {
154 rc = pTcon->ses->server->ops->set_EA(xid, pTcon,
155 full_path, name, value, (__u16)size,
156 cifs_sb->local_nls, cifs_sb);
154 rc = pTcon->ses->server->ops->set_EA(xid, pTcon,
155 full_path, name, value, (__u16)size,
156 cifs_sb->local_nls, cifs_sb);
157 if (rc == 0)
158 inode_set_ctime_current(inode);
159 }
157 break;
158
159 case XATTR_CIFS_ACL:
160 case XATTR_CIFS_NTSD:
161 case XATTR_CIFS_NTSD_FULL: {
162 struct cifs_ntsd *pacl;
163
164 if (!value)

--- 327 unchanged lines hidden ---
160 break;
161
162 case XATTR_CIFS_ACL:
163 case XATTR_CIFS_NTSD:
164 case XATTR_CIFS_NTSD_FULL: {
165 struct cifs_ntsd *pacl;
166
167 if (!value)

--- 327 unchanged lines hidden ---