ceph: reserve one more caps space when doing readdir
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 13 Apr 2010 18:45:56 +0000 (11:45 -0700)
committerSage Weil <sage@newdream.net>
Tue, 13 Apr 2010 19:28:54 +0000 (12:28 -0700)
commite1e4dd0caa63e166afa46a1ccc947bebb4f66bcf
tree028dcbe599b2ecd0a08519e741298a7a5fcb701d
parentfc837c8f0446b73a1661339db406c0238dd1d184
ceph: reserve one more caps space when doing readdir

We were missing space for the directory cap.  The result was a BUG at
fs/ceph/caps.c:2178.

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