]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: convert booleans in cifsInodeInfo to a flags field
authorJeff Layton <[email protected]>
Wed, 30 Apr 2014 13:31:45 +0000 (09:31 -0400)
committerSteve French <[email protected]>
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 <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/file.c
fs/cifs/inode.c
This page took 0.056266 seconds and 4 git commands to generate.