]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fuse: req state use flags
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:01 +0000 (16:26 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:01 +0000 (16:26 +0200)
commit33e14b4dfdc477344efbcd9b4218f2b350f0f893
tree8f56045f3f3de4f5e1fc42fe0d03e48c1ede57c4
parent7a3b2c754749c73b4a255b2a1070c24dba589098
fuse: req state use flags

Use flags for representing the state in fuse_req.  This is needed since
req->list will be protected by different locks in different states, hence
we'll want the state itself to be split into distinct bits, each protected
with the relevant lock in that state.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/dev.c
fs/fuse/file.c
fs/fuse/fuse_i.h