diff options
author | Sage Weil <sage@newdream.net> | 2010-04-13 11:41:22 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-04-13 12:28:31 -0700 |
commit | fc837c8f0446b73a1661339db406c0238dd1d184 (patch) | |
tree | 5cc1e6b97a8f39f7979eb302ac8a090c812f2609 /fs/ceph/dir.c | |
parent | f5b066287c74b624583b993395a65d03a6487b3a (diff) | |
download | linux-stable-fc837c8f0446b73a1661339db406c0238dd1d184.tar.gz linux-stable-fc837c8f0446b73a1661339db406c0238dd1d184.tar.bz2 linux-stable-fc837c8f0446b73a1661339db406c0238dd1d184.zip |
ceph: queue_cap_snap should always queue dirty context
This simplifies the calling convention, and fixes a bug where we queue a
capsnap with a context other than i_head_snapc (the one that matches the
dirty pages). The result was a BUG at fs/ceph/caps.c:2178 on writeback
completion when a capsnap matching the writeback snapc could not be found.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions