]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: Use correct values when updating inode i_size on fallocate
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 20 Jan 2010 07:28:54 +0000 (07:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:20:05 +0000 (13:20 -0700)
commitccfc4449f80353e46b624ea92dc72e3197a0a09b
tree76dfdce9335f1934abbea3c1250a7557e11212eb
parentfad9f7ba5e105ae770ac6b44e4b356445a1091b9
Btrfs: Use correct values when updating inode i_size on fallocate

commit d1ea6a61454e7d7ff0873d0ad1ae27d5807da0d3 upstream.

commit f2bc9dd07e3424c4ec5f3949961fe053d47bc825
Author: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Date:   Wed Jan 20 12:57:53 2010 +0530

    Btrfs: Use correct values when updating inode i_size on fallocate

    Even though we allocate more, we should be updating inode i_size
    as per the arguments passed

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/btrfs/inode.c