]> www.infradead.org Git - users/willy/linux.git/commit
bcachefs: implement FS_IOC_GETVERSION to support lsattr
authorHongbo Li <lihongbo22@huawei.com>
Mon, 3 Jun 2024 13:26:18 +0000 (21:26 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:14 +0000 (19:00 -0400)
commit8a4ef7e28abade861d894e25b167988c5b8977a7
treefe47d3115494ad532787496973f5969924ff7775
parent889fb3dc5d6f8e0931649cb5f016dd38d50fd9fe
bcachefs: implement FS_IOC_GETVERSION to support lsattr

In this patch we add the FS_IOC_GETVERSION ioctl for getting
i_generation from inode, after that, users can list file's
generation number by using "lsattr".

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-ioctl.c