summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2010-02-09 20:08:40 +0100
committerSage Weil <sage@newdream.net>2010-02-11 20:48:51 +0100
commit3d497d858ae6e5f23a28783030aecc69074e102d (patch)
tree43c69325be88a7a1ea3842d5f64a33d613fb710c /mm/migrate.c
parentceph: refactor ceph_write_begin, fix ceph_page_mkwrite (diff)
downloadlinux-3d497d858ae6e5f23a28783030aecc69074e102d.tar.xz
linux-3d497d858ae6e5f23a28783030aecc69074e102d.zip
ceph: fix truncation when not holding caps
A truncation should occur when either we have the specified caps for the file, or (in cases where we are not the only ones referencing the file) when it is mapped or when it is opened. The latter two cases were not handled. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions