diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-01-19 18:09:53 +0100 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 06:58:30 +0100 |
commit | cde98f0f84ccff78e87235cb7b551747d6ad00de (patch) | |
tree | b5cb657b0e0360adf41437819d43a0c9c75912f8 /fs/read_write.c | |
parent | nilfs2: tighten restrictions on inode flags (diff) | |
download | linux-cde98f0f84ccff78e87235cb7b551747d6ad00de.tar.xz 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 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions