]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: use mark_inode_dirty when expanding the file
authorJosef Bacik <josef@redhat.com>
Fri, 4 Mar 2011 19:41:41 +0000 (14:41 -0500)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:32 +0000 (14:21 -0400)
commit930f028abe39dfd0849b53131d19c4b67aacbe67
treea7dc6cd1c09e351a88f43bd353000310745045d7
parentf0cd846e9221811d87047f1428cf5226e7236efe
Btrfs: use mark_inode_dirty when expanding the file

Mark_inode_dirty will call btrfs_dirty_inode which will take care of updating
the inode.  This makes setsize a little cleaner since we don't have to start a
transaction and update the inode in there, we can just call mark_inode_dirty.
Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/inode.c