Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77296
b: refs/heads/master
c: bb5a9a0
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Dec 31, 2007
1 parent 639d957 commit 18ae6c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a67570c76402b36695cd0725e28649ee8fe830d
refs/heads/master: bb5a9a04d4cab4b13d63ac5cd3e1fb35f9583607
8 changes: 3 additions & 5 deletions trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,12 +1179,10 @@ static int cifs_partialpagewrite(struct page *page, unsigned from, unsigned to)
atomic_dec(&open_file->wrtPending);
/* Does mm or vfs already set times? */
inode->i_atime = inode->i_mtime = current_fs_time(inode->i_sb);
if ((bytes_written > 0) && (offset)) {
if ((bytes_written > 0) && (offset))
rc = 0;
} else if (bytes_written < 0) {
if (rc != -EBADF)
rc = bytes_written;
}
else if (bytes_written < 0)
rc = bytes_written;
} else {
cFYI(1, ("No writeable filehandles for inode"));
rc = -EIO;
Expand Down

0 comments on commit 18ae6c8

Please sign in to comment.