[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140223135834.GC2280@thunk.org>
Date: Sun, 23 Feb 2014 08:58:34 -0500
From: Theodore Ts'o <tytso@....edu>
To: Vitaliy Filippov <vitalif@...rcmc.ru>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] misc: Use unsigned long long for file block count in
filefrag
On Sun, Feb 23, 2014 at 01:08:47PM +0400, Vitaliy Filippov wrote:
> This patch fixes incorrect reporting of file block count on 32-bit platforms.
Hi Vitaliy,
Thanks for the patch! Your patch is missing a Signed-Off-By footer.
Also, you note that numblocks gets passed to filefrag_fibmap(), so if
you're going to do this, and we fall back to using fibmap, you should
probably check to see if numblocks would overflow an unsigned long,
and if so, to give an error because fibmap ioctl only supports the use
of a ulong.
Cheers,
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists