diff options
author | Chandan Rajendra <chandan@linux.vnet.ibm.com> | 2016-01-21 11:26:02 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-02-01 19:24:29 +0100 |
commit | 5a2834f808fd71d056f810b832a5f8869420e3ea (patch) | |
tree | 538bc64f3a0edb5b346e362b0fe27c6afe402e21 /fs/btrfs/file.c | |
parent | Btrfs: Limit inline extents to root->sectorsize (diff) | |
download | linux-5a2834f808fd71d056f810b832a5f8869420e3ea.tar.xz linux-5a2834f808fd71d056f810b832a5f8869420e3ea.zip |
Btrfs: Fix block size returned to user space
btrfs_getattr() returns PAGE_CACHE_SIZE as the block size. Since
generic_fillattr() already does the right thing (by obtaining block size
from inode->i_blkbits), just remove the statement from btrfs_getattr.
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions