diff options
author | Steve French <sfrench@us.ibm.com> | 2009-11-24 19:11:31 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-11-24 19:11:31 -0500 |
commit | 2f81e752da4781fc276689fc14391346d0dbbe78 (patch) | |
tree | 02c40374f22919e49b87242b44556362053e85b2 /fs | |
parent | cea62343956c24452700c06cf028b72414c58a74 (diff) |
[CIFS] Fix sparse warning
Also update CHANGES file
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/CHANGES | 9 | ||||
-rw-r--r-- | fs/cifs/dir.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 145540a316ab..094ea65afc85 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -1,3 +1,12 @@ | |||
1 | Version 1.61 | ||
2 | ------------ | ||
3 | Fix append problem to Samba servers (files opened with O_APPEND could | ||
4 | have duplicated data). Fix oops in cifs_lookup. Workaround problem | ||
5 | mounting to OS/400 Netserve. Fix oops in cifs_get_tcp_session. | ||
6 | Disable use of server inode numbers when server only | ||
7 | partially supports them (e.g. for one server querying inode numbers on | ||
8 | FindFirst fails but QPathInfo queries works). | ||
9 | |||
1 | Version 1.60 | 10 | Version 1.60 |
2 | ------------- | 11 | ------------- |
3 | Fix memory leak in reconnect. Fix oops in DFS mount error path. | 12 | Fix memory leak in reconnect. Fix oops in DFS mount error path. |
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index d3a6b07e3355..1f42f772865a 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -643,7 +643,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, | |||
643 | */ | 643 | */ |
644 | if (nd && (nd->flags & LOOKUP_EXCL)) { | 644 | if (nd && (nd->flags & LOOKUP_EXCL)) { |
645 | d_instantiate(direntry, NULL); | 645 | d_instantiate(direntry, NULL); |
646 | return 0; | 646 | return NULL; |
647 | } | 647 | } |
648 | 648 | ||
649 | /* can not grab the rename sem here since it would | 649 | /* can not grab the rename sem here since it would |