stat <filename> doesn't give any block number
as it's filesystem specific. This small patchset adds getattr
wrapper to return i_blkcnt calculated during affs_iget()
and does some clean-up in affs.h

Fabian Frederick (3):
  fs/affs: normalize inode function prototypes
  fs/affs: remove affs_set_blocksize()
  fs/affs: stat: return block number

 fs/affs/affs.h  | 23 ++++++++++-------------
 fs/affs/file.c  |  1 +
 fs/affs/inode.c | 11 +++++++++++
 fs/affs/super.c |  4 ++--
 4 files changed, 24 insertions(+), 15 deletions(-)

-- 
2.9.3

Reply via email to