diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-07-09 20:02:49 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-07-09 17:15:02 -0400 |
commit | 01ea95e3b6b16573a491ef98ad63f7a1bdcb504f (patch) | |
tree | a060a54d4a3fc1b08534569e2afb8d7c8d5fff37 /fs/cifs/inode.c | |
parent | c4c1bff64dfff4e6dd0936a0340f56b9284512c8 (diff) |
cifs: rename CIFSSMBUnixSetInfo to CIFSSMBUnixSetPathInfo
cifs: rename CIFSSMBUnixSetInfo to CIFSSMBUnixSetPathInfo
...in preparation of adding a SET_FILE_INFO variant.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index b22379610d71..ad19007ea05f 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -1241,10 +1241,10 @@ mkdir_get_info: | |||
1241 | args.uid = NO_CHANGE_64; | 1241 | args.uid = NO_CHANGE_64; |
1242 | args.gid = NO_CHANGE_64; | 1242 | args.gid = NO_CHANGE_64; |
1243 | } | 1243 | } |
1244 | CIFSSMBUnixSetInfo(xid, pTcon, full_path, &args, | 1244 | CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, &args, |
1245 | cifs_sb->local_nls, | 1245 | cifs_sb->local_nls, |
1246 | cifs_sb->mnt_cifs_flags & | 1246 | cifs_sb->mnt_cifs_flags & |
1247 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1247 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
1248 | } else { | 1248 | } else { |
1249 | if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) && | 1249 | if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) && |
1250 | (mode & S_IWUGO) == 0) { | 1250 | (mode & S_IWUGO) == 0) { |
@@ -1876,10 +1876,10 @@ cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs) | |||
1876 | args->ctime = NO_CHANGE_64; | 1876 | args->ctime = NO_CHANGE_64; |
1877 | 1877 | ||
1878 | args->device = 0; | 1878 | args->device = 0; |
1879 | rc = CIFSSMBUnixSetInfo(xid, pTcon, full_path, args, | 1879 | rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, args, |
1880 | cifs_sb->local_nls, | 1880 | cifs_sb->local_nls, |
1881 | cifs_sb->mnt_cifs_flags & | 1881 | cifs_sb->mnt_cifs_flags & |
1882 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1882 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
1883 | 1883 | ||
1884 | if (!rc) | 1884 | if (!rc) |
1885 | rc = inode_setattr(inode, attrs); | 1885 | rc = inode_setattr(inode, attrs); |