From: Andreas Rohner Date: Thu, 3 Apr 2014 21:50:27 +0000 (-0700) Subject: nilfs2: add nilfs_sufile_set_suinfo to update segment usage X-Git-Tag: v3.15-rc1~106^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e9ffcd27cc5d0af9076383c6242c32335546f8;p=pandora-kernel.git nilfs2: add nilfs_sufile_set_suinfo to update segment usage Introduce nilfs_sufile_set_suinfo(), which expects an array of nilfs_suinfo_update structures and updates the segment usage information accordingly. This is basically a helper function for the newly introduced NILFS_IOCTL_SET_SUINFO ioctl. [konishi.ryusuke@lab.ntt.co.jp: use put_bh() instead of brelse() because we know bh != NULL] Signed-off-by: Andreas Rohner Signed-off-by: Ryusuke Konishi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed