diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/file.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 7a0dd99e4507..2d4a231dd70b 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -2520,8 +2520,6 @@ cifs_writev(struct kiocb *iocb, const struct iovec *iov, | |||
2520 | 2520 | ||
2521 | BUG_ON(iocb->ki_pos != pos); | 2521 | BUG_ON(iocb->ki_pos != pos); |
2522 | 2522 | ||
2523 | sb_start_write(inode->i_sb); | ||
2524 | |||
2525 | /* | 2523 | /* |
2526 | * We need to hold the sem to be sure nobody modifies lock list | 2524 | * We need to hold the sem to be sure nobody modifies lock list |
2527 | * with a brlock that prevents writing. | 2525 | * with a brlock that prevents writing. |
@@ -2545,7 +2543,6 @@ cifs_writev(struct kiocb *iocb, const struct iovec *iov, | |||
2545 | } | 2543 | } |
2546 | 2544 | ||
2547 | up_read(&cinode->lock_sem); | 2545 | up_read(&cinode->lock_sem); |
2548 | sb_end_write(inode->i_sb); | ||
2549 | return rc; | 2546 | return rc; |
2550 | } | 2547 | } |
2551 | 2548 | ||