Re: [PATCH 14/61] smb: remove cifs_uniqueid_to_ino_t()
Paulo Alcantara <[email protected]> Thu, 26 Feb 2026 13:58:19 -0300
| Newsgroups | gmane.linux.file-systems,gmane.linux.kernel,gmane.linux.kernel.mm,gmane.comp.file-systems.ext4,gmane.linux.file-systems.f2fs,gmane.linux.nfs,gmane.linux.kernel.cifs,gmane.network.samba.internals,gmane.comp.file-systems.nilfs.user,gmane.linux.kernel.autofs,gmane.comp.file-systems.ceph.devel,gmane.comp.file-systems.coda.general,gmane.comp.file-systems.ecryptfs.general,gmane.linux.drivers.mtd,gmane.linux.file-systems.union,gmane.comp.security.apparmor,gmane.linux.kernel.lsm,gmane.comp.freedesktop.amd-gfx,gmane.comp.video.dri.devel,gmane.linux.drivers.video-input-infrastructure,gmane.linux.network,gmane.linux.kernel.perf.user,gmane.linux.hams,gmane.linux.x25 |
|---|---|
| Message-ID | <[email protected]> |
Jeff Layton <[email protected]> writes: > Now that i_ino is u64, cifs_uniqueid_to_ino_t() is a trivial identity > function. Remove it and use fattr->cf_uniqueid directly at both call > sites. > > Also remove the now-unused #include <linux/hash.h>, which was only > needed for the old XOR-folding logic. > > Signed-off-by: Jeff Layton <[email protected]> > --- > fs/smb/client/cifsfs.h | 11 ----------- > fs/smb/client/inode.c | 2 +- > fs/smb/client/readdir.c | 2 +- > 3 files changed, 2 insertions(+), 13 deletions(-) Acked-by: Paulo Alcantara (Red Hat) <[email protected]>