summaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-11-25 01:11:31 +0100
committerSteve French <sfrench@us.ibm.com>2009-11-25 01:11:31 +0100
commit2f81e752da4781fc276689fc14391346d0dbbe78 (patch)
tree02c40374f22919e49b87242b44556362053e85b2 /fs/cifs/dir.c
parent[CIFS] Duplicate data on appending to some Samba servers (diff)
downloadlinux-2f81e752da4781fc276689fc14391346d0dbbe78.tar.xz
linux-2f81e752da4781fc276689fc14391346d0dbbe78.zip
[CIFS] Fix sparse warning
Also update CHANGES file Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c2
1 files changed, 1 insertions, 1 deletions
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,
*/
if (nd && (nd->flags & LOOKUP_EXCL)) {
d_instantiate(direntry, NULL);
- return 0;
+ return NULL;
}
/* can not grab the rename sem here since it would