* trivial fix s/u64/u32/ for sb->s_blocksize
@ 2011-08-29 14:57 Jeff Liu
0 siblings, 0 replies; only message in thread
From: Jeff Liu @ 2011-08-29 14:57 UTC (permalink / raw)
To: linux-btrfs
Hello,
in btrfs_ioctl_clone(), using u32 for super_block->s_blocksize assignment.
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 970977a..03ab77a 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -2133,12 +2133,12 @@ static noinline long btrfs_ioctl_clone(struct
file *file, unsigned long srcfd,
struct extent_buffer *leaf;
char *buf;
struct btrfs_key key;
- u32 nritems;
int slot;
int ret;
u64 len = olen;
- u64 bs = root->fs_info->sb->s_blocksize;
u64 hint_byte;
+ u32 bs = root->fs_info->sb->s_blocksize;
+ u32 nritems;
/*
* TODO:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-29 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 14:57 trivial fix s/u64/u32/ for sb->s_blocksize Jeff Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.