9p: Do a couple of cleanups
authorDavid Howells <dhowells@redhat.com>
Wed, 3 Jan 2024 12:08:46 +0000 (12:08 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 4 Jan 2024 13:14:13 +0000 (13:14 +0000)
commit6c2c1e0009e97381a032d8c84747a46082fd327c
tree657961a5d51528b5f24efe7d26ce1d12b62a68c2
parent9546ac78b232bac56ff975072b1965e0e755ebd4
9p: Do a couple of cleanups

Do a couple of cleanups to 9p:

 (1) Remove a couple of unused variables.

 (2) Turn a BUG_ON() into a warning, consolidate with another warning and
     make the warning message include the inode number rather than
     whatever's in i_private (which will get hashed anyway).

Suggested-by: Dominique Martinet <asmadeus@codewreck.org>
Link: https://lore.kernel.org/r/ZZULNQAZ0n0WQv7p@codewreck.org/
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Dominique Martinet <asmadeus@codewreck.org>
cc: Eric Van Hensbergen <ericvh@kernel.org>
cc: Latchesar Ionkov <lucho@ionkov.net>
cc: Christian Schoenebeck <linux_oss@crudebyte.com>
cc: v9fs@lists.linux.dev
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
fs/9p/vfs_addr.c