Cleanup sparse file support by creating worker function for it
authorSteve French <smfrench@gmail.com>
Wed, 13 Aug 2014 22:16:29 +0000 (17:16 -0500)
committerSteve French <smfrench@gmail.com>
Sat, 16 Aug 2014 04:01:00 +0000 (23:01 -0500)
commitd43cc79343dfabf9f168531d3f5cff313205c8fb
tree7f17f1c5b8f8ce58ecb9d4faad57b38387be3533
parent3d1a3745d8ca7ccdf00905b01fd5ab42ff523a94
Cleanup sparse file support by creating worker function for it

Simply move code to new function (for clarity). Function sets or clears
the sparse file attribute flag.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
fs/cifs/smb2ops.c