Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175289
b: refs/heads/master
c: 027cf31
h: refs/heads/master
i:
  175287: bb290a6
v: v3
  • Loading branch information
Christoph Hellwig authored and Jan Kara committed Dec 10, 2009
1 parent ac4a3a3 commit 51e236c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 94004ed726f38a841cc51f97c4a3f9eda9fbd0d9
refs/heads/master: 027cf316afff03d310281709314fbc0899984759
9 changes: 0 additions & 9 deletions trunk/fs/afs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ ssize_t afs_file_write(struct kiocb *iocb, const struct iovec *iov,
struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode);
ssize_t result;
size_t count = iov_length(iov, nr_segs);
int ret;

_enter("{%x.%u},{%zu},%lu,",
vnode->fid.vid, vnode->fid.vnode, count, nr_segs);
Expand All @@ -691,14 +690,6 @@ ssize_t afs_file_write(struct kiocb *iocb, const struct iovec *iov,
return result;
}

/* return error values for O_SYNC and IS_SYNC() */
if (IS_SYNC(&vnode->vfs_inode) || iocb->ki_filp->f_flags & O_DSYNC) {
ret = afs_fsync(iocb->ki_filp, dentry,
(iocb->ki_filp->f_flags & __O_SYNC) ? 0 : 1);
if (ret < 0)
result = ret;
}

_leave(" = %zd", result);
return result;
}
Expand Down

0 comments on commit 51e236c

Please sign in to comment.