diff mbox

trivial fix s/u64/u32/ for sb->s_blocksize

Message ID 4E5BA8EA.8050407@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

jeff.liu Aug. 29, 2011, 2:57 p.m. UTC
Hello,

in btrfs_ioctl_clone(), using u32 for super_block->s_blocksize assignment.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>

       * TODO:
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;

      /*