]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: req use bitops
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:58 +0000 (16:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:58 +0000 (16:25 +0200)
commit5231bb9e2ed77fa47f5b0730bccba7e7b667bdbd
tree1a8644c118994d7d7a743665cb657fd21a450443
parentec9f2372203e04aae093099fe671e442d98253ce
fuse: req use bitops

Finer grained locking will mean there's no single lock to protect
modification of bitfileds in fuse_req.

So move to using bitops.  Can use the non-atomic variants for those which
happen while the request definitely has only one reference.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
fs/fuse/dev.c
fs/fuse/file.c
fs/fuse/fuse_i.h
fs/fuse/inode.c