diff options
author | Steve French <smfrench@gmail.com> | 2013-10-14 22:27:32 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-11-02 18:52:44 +0100 |
commit | c7f508a99bf229963915e79a603e0618d1d2ba76 (patch) | |
tree | b2eaa3a16ccafe2aa1d28130edaa552dd900f66c /fs/cifs/ioctl.c | |
parent | Query File System Alignment (diff) | |
download | linux-c7f508a99bf229963915e79a603e0618d1d2ba76.tar.xz linux-c7f508a99bf229963915e79a603e0618d1d2ba76.zip |
Allow setting per-file compression via CIFS protocol
An earlier patch allowed setting the per-file compression flag
"chattr +c filename"
on an smb2 or smb3 mount, and also allowed lsattr to return
whether a file on a cifs, or smb2/smb3 mount was compressed.
This patch extends the ability to set the per-file
compression flag to the cifs protocol, which uses a somewhat
different IOCTL mechanism than SMB2, although the payload
(the flags stored in the compression_state) are the same.
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/ioctl.c')
0 files changed, 0 insertions, 0 deletions