Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1641978
| From | Fabian Frederick <fabf@skynet.be> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3 linux-next] fs/affs: add blocknumber to stat |
| Date | 2017-05-15 21:00 +0200 |
| Message-ID | <tHtnQ-3n9-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 0/3 linux-next] fs/affs: add blocknumber to stat Fabian Frederick <fabf@skynet.be> - 2017-05-15 21:00 +0200
csiph-web