projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[platform/kernel/linux-rpi.git]
/
fs
/
nilfs2
/
super.c
diff --git
a/fs/nilfs2/super.c
b/fs/nilfs2/super.c
index
63cffe0
..
63e5fa7
100644
(file)
--- a/
fs/nilfs2/super.c
+++ b/
fs/nilfs2/super.c
@@
-403,7
+403,7
@@
int nilfs_resize_fs(struct super_block *sb, __u64 newsize)
int ret;
ret = -ERANGE;
- devsize =
i_size_read(sb->s_bdev->bd_inode
);
+ devsize =
bdev_nr_bytes(sb->s_bdev
);
if (newsize > devsize)
goto out;