-
- Downloads
ocfs2: Fix up i_blocks calculation to know about holes
Older file systems which didn't support holes did a dumb calculation of
i_blocks based on i_size. This is no longer accurate, so fix things up to
take actual allocation into account.
Signed-off-by:
Mark Fasheh <mark.fasheh@oracle.com>
Showing
- fs/ocfs2/aops.c 1 addition, 1 deletionfs/ocfs2/aops.c
- fs/ocfs2/dir.c 4 additions, 5 deletionsfs/ocfs2/dir.c
- fs/ocfs2/dlmglue.c 1 addition, 2 deletionsfs/ocfs2/dlmglue.c
- fs/ocfs2/file.c 1 addition, 1 deletionfs/ocfs2/file.c
- fs/ocfs2/inode.c 5 additions, 6 deletionsfs/ocfs2/inode.c
- fs/ocfs2/inode.h 7 additions, 0 deletionsfs/ocfs2/inode.h
- fs/ocfs2/journal.c 3 additions, 11 deletionsfs/ocfs2/journal.c
- fs/ocfs2/namei.c 2 additions, 2 deletionsfs/ocfs2/namei.c
- fs/ocfs2/suballoc.c 1 addition, 2 deletionsfs/ocfs2/suballoc.c
Loading
Please register or sign in to comment