diff options
author | Sage Weil <sage@newdream.net> | 2009-10-21 20:21:49 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-21 20:24:36 +0200 |
commit | 232d4b01319767b3ffa5d08962a81c805962be49 (patch) | |
tree | 9df213823c817b988c4438e1f81797936c70f48b /fs/namei.c | |
parent | ceph: v0.17 of client (diff) | |
download | linux-232d4b01319767b3ffa5d08962a81c805962be49.tar.xz linux-232d4b01319767b3ffa5d08962a81c805962be49.zip |
ceph: move directory size logic to ceph_getattr
We can't fill i_size with rbytes at the fill_file_size stage without
adding additional checks for directories. Notably, we want st_blocks
to remain 0 on directories so that 'du' still works.
Fill in i_blocks, i_size specially in ceph_getattr instead.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions