]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/cifs/inode.c
cifs: convert booleans in cifsInodeInfo to a flags field
authorJeff Layton <jlayton@poochiereds.net>
Wed, 30 Apr 2014 13:31:45 +0000 (09:31 -0400)
committerSteve French <smfrench@gmail.com>
Wed, 21 May 2014 17:18:05 +0000 (10:18 -0700)
commitaff8d5ca7a3dca0bd6f6e86c9a85bf04941262ce
tree3bb10e19fa53334df6b7731a14e4cfb4bec82f35
parent02323db17e3a73dd335690b7b1a2392912b05513
cifs: convert booleans in cifsInodeInfo to a flags field

In later patches, we'll need to have a bitlock, so go ahead and convert
these bools to use atomic bitops instead.

Also, clean up the initialization of the flags field. There's no need
to unset each bit individually just after it was zeroed on allocation.

Signed-off-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/file.c
fs/cifs/inode.c