ceph: make sure flushing inode in proper session's cap_flushing list
authorYan, Zheng <zyan@redhat.com>
Tue, 24 Jan 2017 02:02:32 +0000 (10:02 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:07 +0000 (12:16 +0100)
commit00f06cba53f53f3f7be8ac4f9ba2c2f6a94bca6f
tree91550b4cbfd922e253687dc7402b5b262a9be35e
parentd641df819db8b80198fd85d9de91137e8a823b07
ceph: make sure flushing inode in proper session's cap_flushing list

when flushing inode's auth cap changes, we need to move it into the
new auth cap session's cap_flushing list

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c