ceph: request FILE_LAZYIO cap when LAZY file mode is set
authorSage Weil <sage@newdream.net>
Tue, 25 May 2010 23:46:24 +0000 (16:46 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 03:11:38 +0000 (20:11 -0700)
commit84d9509234c46481aded977193fcf23f892d715f
treea79cdd09126323064b49ac00c2aa1a39733675d1
parent9fe6206f400646a2322096b56c59891d530e8d51
ceph: request FILE_LAZYIO cap when LAZY file mode is set

Also clean up the file flags -> file mode -> wanted caps functions while
we're at it.  This resyncs this file with userspace.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ceph_fs.c
fs/ceph/ceph_fs.h