aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index eeab602c6e0a..f085db965788 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,
269 } else if (newinode) { 269 } else if (newinode) {
270 pCifsFile = 270 pCifsFile =
271 kzalloc(sizeof (struct cifsFileInfo), GFP_KERNEL); 271 kzalloc(sizeof (struct cifsFileInfo), GFP_KERNEL);
272 272
273 if (pCifsFile == NULL) 273 if (pCifsFile == NULL)
274 goto cifs_create_out; 274 goto cifs_create_out;
275 pCifsFile->netfid = fileHandle; 275 pCifsFile->netfid = fileHandle;
@@ -299,7 +299,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
299 if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) { 299 if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) {
300 pCifsInode->clientCanCacheAll = TRUE; 300 pCifsInode->clientCanCacheAll = TRUE;
301 pCifsInode->clientCanCacheRead = TRUE; 301 pCifsInode->clientCanCacheRead = TRUE;
302 cFYI(1,("Exclusive Oplock for inode %p", 302 cFYI(1, ("Exclusive Oplock inode %p",
303 newinode)); 303 newinode));
304 } else if ((oplock & 0xF) == OPLOCK_READ) 304 } else if ((oplock & 0xF) == OPLOCK_READ)
305 pCifsInode->clientCanCacheRead = TRUE; 305 pCifsInode->clientCanCacheRead = TRUE;
@@ -517,7 +517,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
517 /* if it was once a directory (but how can we tell?) we could do 517 /* if it was once a directory (but how can we tell?) we could do
518 shrink_dcache_parent(direntry); */ 518 shrink_dcache_parent(direntry); */
519 } else { 519 } else {
520 cERROR(1,("Error 0x%x on cifs_get_inode_info in lookup of %s", 520 cERROR(1, ("Error 0x%x on cifs_get_inode_info in lookup of %s",
521 rc, full_path)); 521 rc, full_path));
522 /* BB special case check for Access Denied - watch security 522 /* BB special case check for Access Denied - watch security
523 exposure of returning dir info implicitly via different rc 523 exposure of returning dir info implicitly via different rc