diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-12 02:23:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-12 02:23:16 +0200 |
commit | 577107e8e4cf9f6f4f5ef8350ac9a8faa6c3796d (patch) | |
tree | 8b3d6902494dcf3d872ce7e47ebe38846f0d8895 /fs/ocfs2/file.c | |
parent | fix SERIAL_CORE_CONSOLE driver dependencies (diff) | |
parent | ocfs2: Fix calculation of i_blocks during truncate (diff) | |
download | linux-577107e8e4cf9f6f4f5ef8350ac9a8faa6c3796d.tar.xz linux-577107e8e4cf9f6f4f5ef8350ac9a8faa6c3796d.zip |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
ocfs2: Fix calculation of i_blocks during truncate
[PATCH] ocfs2: Fix a wrong cluster calculation.
[PATCH] ocfs2: fix mount option parsing
ocfs2: update docs for new features
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 4ffa715be09c..7e34e66159c6 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -314,7 +314,6 @@ static int ocfs2_orphan_for_truncate(struct ocfs2_super *osb, } i_size_write(inode, new_i_size); - inode->i_blocks = ocfs2_align_bytes_to_sectors(new_i_size); inode->i_ctime = inode->i_mtime = CURRENT_TIME; di = (struct ocfs2_dinode *) fe_bh->b_data; |