aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index e2b4ce1dad66..379369ecda96 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -201,7 +201,7 @@ int cifs_open(struct inode *inode, struct file *file)
201 } else { 201 } else {
202 if (file->f_flags & O_EXCL) 202 if (file->f_flags & O_EXCL)
203 cERROR(1, ("could not find file instance for " 203 cERROR(1, ("could not find file instance for "
204 "new file %p ", file)); 204 "new file %p", file));
205 } 205 }
206 } 206 }
207 207
@@ -272,7 +272,7 @@ int cifs_open(struct inode *inode, struct file *file)
272 & CIFS_MOUNT_MAP_SPECIAL_CHR); 272 & CIFS_MOUNT_MAP_SPECIAL_CHR);
273 } 273 }
274 if (rc) { 274 if (rc) {
275 cFYI(1, ("cifs_open returned 0x%x ", rc)); 275 cFYI(1, ("cifs_open returned 0x%x", rc));
276 goto out; 276 goto out;
277 } 277 }
278 file->private_data = 278 file->private_data =
@@ -409,8 +409,8 @@ static int cifs_reopen_file(struct inode *inode, struct file *file,
409 CIFS_MOUNT_MAP_SPECIAL_CHR); 409 CIFS_MOUNT_MAP_SPECIAL_CHR);
410 if (rc) { 410 if (rc) {
411 up(&pCifsFile->fh_sem); 411 up(&pCifsFile->fh_sem);
412 cFYI(1, ("cifs_open returned 0x%x ", rc)); 412 cFYI(1, ("cifs_open returned 0x%x", rc));
413 cFYI(1, ("oplock: %d ", oplock)); 413 cFYI(1, ("oplock: %d", oplock));
414 } else { 414 } else {
415 pCifsFile->netfid = netfid; 415 pCifsFile->netfid = netfid;
416 pCifsFile->invalidHandle = FALSE; 416 pCifsFile->invalidHandle = FALSE;
@@ -531,7 +531,7 @@ int cifs_closedir(struct inode *inode, struct file *file)
531 (struct cifsFileInfo *)file->private_data; 531 (struct cifsFileInfo *)file->private_data;
532 char *ptmp; 532 char *ptmp;
533 533
534 cFYI(1, ("Closedir inode = 0x%p with ", inode)); 534 cFYI(1, ("Closedir inode = 0x%p", inode));
535 535
536 xid = GetXid(); 536 xid = GetXid();
537 537
@@ -605,7 +605,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
605 } 605 }
606 if (pfLock->fl_flags & FL_ACCESS) 606 if (pfLock->fl_flags & FL_ACCESS)
607 cFYI(1, ("Process suspended by mandatory locking - " 607 cFYI(1, ("Process suspended by mandatory locking - "
608 "not implemented yet ")); 608 "not implemented yet"));
609 if (pfLock->fl_flags & FL_LEASE) 609 if (pfLock->fl_flags & FL_LEASE)
610 cFYI(1, ("Lease on file - not implemented yet")); 610 cFYI(1, ("Lease on file - not implemented yet"));
611 if (pfLock->fl_flags & 611 if (pfLock->fl_flags &
@@ -1377,7 +1377,7 @@ int cifs_fsync(struct file *file, struct dentry *dentry, int datasync)
1377 1377
1378 xid = GetXid(); 1378 xid = GetXid();
1379 1379
1380 cFYI(1, ("Sync file - name: %s datasync: 0x%x ", 1380 cFYI(1, ("Sync file - name: %s datasync: 0x%x",
1381 dentry->d_name.name, datasync)); 1381 dentry->d_name.name, datasync));
1382 1382
1383 rc = filemap_fdatawrite(inode->i_mapping); 1383 rc = filemap_fdatawrite(inode->i_mapping);
@@ -1406,7 +1406,7 @@ int cifs_fsync(struct file *file, struct dentry *dentry, int datasync)
1406/* fill in rpages then 1406/* fill in rpages then
1407 result = cifs_pagein_inode(inode, index, rpages); */ /* BB finish */ 1407 result = cifs_pagein_inode(inode, index, rpages); */ /* BB finish */
1408 1408
1409/* cFYI(1, ("rpages is %d for sync page of Index %ld ", rpages, index)); 1409/* cFYI(1, ("rpages is %d for sync page of Index %ld", rpages, index));
1410 1410
1411#if 0 1411#if 0
1412 if (rc < 0) 1412 if (rc < 0)
@@ -1838,7 +1838,7 @@ static int cifs_readpage_worker(struct file *file, struct page *page,
1838 if (rc < 0) 1838 if (rc < 0)
1839 goto io_error; 1839 goto io_error;
1840 else 1840 else
1841 cFYI(1, ("Bytes read %d ",rc)); 1841 cFYI(1, ("Bytes read %d",rc));
1842 1842
1843 file->f_dentry->d_inode->i_atime = 1843 file->f_dentry->d_inode->i_atime =
1844 current_fs_time(file->f_dentry->d_inode->i_sb); 1844 current_fs_time(file->f_dentry->d_inode->i_sb);