diff options
author | Cyril Gorcunov <gorcunov@gmail.com> | 2007-10-14 13:58:43 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-14 13:58:43 -0400 |
commit | 8f2376adfb57d95973b64ecdf016937f436b9bf0 (patch) | |
tree | 830a7f20af90be883a684fddc71a18f7c11df2b6 /fs/cifs/inode.c | |
parent | 516897a208bc1423d561ce2ccce0624c3b652275 (diff) |
[CIFS] Fix endian conversion problem in posix mkdir
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index ece17ca00d08..cc119b278e5b 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -947,7 +947,8 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode) | |||
947 | d_drop(direntry); | 947 | d_drop(direntry); |
948 | } else { | 948 | } else { |
949 | int obj_type; | 949 | int obj_type; |
950 | if (pInfo->Type == -1) /* no return info - go query */ { | 950 | if (pInfo->Type == cpu_to_le32(-1)) { |
951 | /* no return info, go query for it */ | ||
951 | kfree(pInfo); | 952 | kfree(pInfo); |
952 | goto mkdir_get_info; | 953 | goto mkdir_get_info; |
953 | } | 954 | } |