lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 15 May 2017 20:56:40 +0200
From:   Fabian Frederick <fabf@...net.be>
To:     Alexander Viro <viro@...iv.linux.org.uk>
Cc:     linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        fabf@...net.be
Subject: [PATCH 0/3 linux-next] fs/affs: add blocknumber to stat

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ