diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-01-20 02:09:53 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 14:58:30 +0900 |
commit | cde98f0f84ccff78e87235cb7b551747d6ad00de (patch) | |
tree | b5cb657b0e0360adf41437819d43a0c9c75912f8 /samples | |
parent | b253a3e4f2b8eed69b804952ef926df0ac788595 (diff) | |
download | blackbird-op-linux-cde98f0f84ccff78e87235cb7b551747d6ad00de.tar.gz blackbird-op-linux-cde98f0f84ccff78e87235cb7b551747d6ad00de.zip |
nilfs2: implement FS_IOC_GETFLAGS/SETFLAGS/GETVERSION
Add support for the standard attributes set via chattr and read via
lsattr. These attributes are already in the flags value in the nilfs2
inode, but currently we don't have any ioctl commands that expose them
to the userland.
Collaterally, this adds the FS_IOC_GETVERSION ioctl for getting
i_generation, which allows users to list the file's generation number
with "lsattr -v".
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions