diff options
author | Steve French <sfrench@us.ibm.com> | 2007-06-05 20:35:06 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-06-05 20:35:06 +0000 |
commit | 221601c3d1df8148525daf3143a7a22fba772566 (patch) | |
tree | 47496766650c47848d394a44ff840864aa006b69 /fs/cifs/dir.c | |
parent | 5fdae1f681426d23eadcb99566030781ba8c65c9 (diff) | |
download | linux-3.10-221601c3d1df8148525daf3143a7a22fba772566.tar.gz linux-3.10-221601c3d1df8148525daf3143a7a22fba772566.tar.bz2 linux-3.10-221601c3d1df8148525daf3143a7a22fba772566.zip |
[CIFS] whitespace cleanup part 2
Various coding style problems found by running the new
checkpatch.pl script against fs/cifs. 3 more files
fixed up.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index eeab602c6e0..f085db96578 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c @@ -269,7 +269,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode, } else if (newinode) { pCifsFile = kzalloc(sizeof (struct cifsFileInfo), GFP_KERNEL); - + if (pCifsFile == NULL) goto cifs_create_out; pCifsFile->netfid = fileHandle; @@ -299,7 +299,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode, if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) { pCifsInode->clientCanCacheAll = TRUE; pCifsInode->clientCanCacheRead = TRUE; - cFYI(1,("Exclusive Oplock for inode %p", + cFYI(1, ("Exclusive Oplock inode %p", newinode)); } else if ((oplock & 0xF) == OPLOCK_READ) pCifsInode->clientCanCacheRead = TRUE; @@ -517,7 +517,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, /* if it was once a directory (but how can we tell?) we could do shrink_dcache_parent(direntry); */ } else { - cERROR(1,("Error 0x%x on cifs_get_inode_info in lookup of %s", + cERROR(1, ("Error 0x%x on cifs_get_inode_info in lookup of %s", rc, full_path)); /* BB special case check for Access Denied - watch security exposure of returning dir info implicitly via different rc |