All of lore.kernel.org
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Namjae Jeon <namjae.jeon@samsung.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH v6 3/4] fat: permit to return phy block number by fibmap in fallocated region
Date: Fri, 24 Oct 2014 00:31:53 +0900	[thread overview]
Message-ID: <87fvee9506.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <006e01cfe9fd$3ef0cd40$bcd267c0$@samsung.com> (Namjae Jeon's message of "Fri, 17 Oct 2014 20:26:50 +0900")

Namjae Jeon <namjae.jeon@samsung.com> writes:

> +static int fat_get_block_bmap(struct inode *inode, sector_t iblock,
> +		struct buffer_head *bh_result, int create)
> +{
> +	struct super_block *sb = inode->i_sb;
> +	unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
> +	int err;
> +	sector_t bmap, last_block;
> +	unsigned long mapped_blocks;
> +
> +	BUG_ON(create != 0);
> +
> +	last_block = inode->i_blocks;
> +
> +	if (iblock >= last_block)
> +		return 0;

This one also different unit.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

      reply	other threads:[~2014-10-23 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 11:26 [PATCH v6 3/4] fat: permit to return phy block number by fibmap in fallocated region Namjae Jeon
2014-10-23 15:31 ` OGAWA Hirofumi [this message]

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=87fvee9506.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=akpm@linux-foundation.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=namjae.jeon@samsung.com \
    /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 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.