diff options
-rw-r--r-- | fs/cifs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 82612be9477b..079f39a8dd3b 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -1274,7 +1274,7 @@ int cifs_rename(struct inode *source_inode, struct dentry *source_direntry, | |||
1274 | info_buf_source = | 1274 | info_buf_source = |
1275 | kmalloc(2 * sizeof(FILE_UNIX_BASIC_INFO), | 1275 | kmalloc(2 * sizeof(FILE_UNIX_BASIC_INFO), |
1276 | GFP_KERNEL); | 1276 | GFP_KERNEL); |
1277 | if (info_buf_source != NULL) | 1277 | if (info_buf_source == NULL) |
1278 | goto unlink_target; | 1278 | goto unlink_target; |
1279 | 1279 | ||
1280 | info_buf_target = info_buf_source + 1; | 1280 | info_buf_target = info_buf_source + 1; |