diff options
author | Andreas Rohner <andreas.rohner@gmx.net> | 2014-04-03 23:50:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:21:25 +0200 |
commit | 00e9ffcd27cc5d0af9076383c6242c32335546f8 (patch) | |
tree | 762e868d94f5bac1d976a77c5c092a3c8de7a59c /usr | |
parent | nilfs2: add struct nilfs_suinfo_update and flags (diff) | |
download | linux-00e9ffcd27cc5d0af9076383c6242c32335546f8.tar.xz linux-00e9ffcd27cc5d0af9076383c6242c32335546f8.zip |
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 <andreas.rohner@gmx.net>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions