linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Liu <jeff.liu@oracle.com>
To: linux-btrfs@vger.kernel.org
Subject: trivial fix s/u64/u32/ for sb->s_blocksize
Date: Mon, 29 Aug 2011 22:57:46 +0800	[thread overview]
Message-ID: <4E5BA8EA.8050407@oracle.com> (raw)

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:

                 reply	other threads:[~2011-08-29 14:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E5BA8EA.8050407@oracle.com \
    --to=jeff.liu@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).