]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: only link open operations to directory unsafe list if O_CREAT|O_TRUNC
authorSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 18:27:59 +0000 (11:27 -0700)
committerSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 18:27:59 +0000 (11:27 -0700)
commit94368cba16d8317242c17fc0db03352cf3a02ec8
tree44d42141bf2d61a3098cedb381ec775cded8ac89
parentaf561d5afaae28187120fb212d71ac806f54e307
ceph: only link open operations to directory unsafe list if O_CREAT|O_TRUNC

We only need to put these on the directory unsafe list if they have
side effects that fsync(2) should flush out.

Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/file.c