[PATCH 0/3 linux-next] fs/affs: add blocknumber to stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux