* btrfs inode is different across file systems ?
@ 2018-01-22 8:07 Ilan Schwarts
0 siblings, 0 replies; only message in thread
From: Ilan Schwarts @ 2018-01-22 8:07 UTC (permalink / raw)
To: linux-btrfs
Hey,
If I get btrfs inode in this way: btrfs_ino(inode)
implemented at btrfs_inode.h:
static inline u64 btrfs_ino(struct inode *inode)
{
u64 ino = BTRFS_I(inode)->location.objectid;
if (!ino || BTRFS_I(inode)->location.type == BTRFS_ROOT_ITEM_KEY)
ino = inode->i_ino;
return ino;
}
Is that inode number is unique between 2 btrfs file systems ?
Lets assume, i have 2 btrfs file systems on my machine, file system A
and file system B, each of these file system has volumes.
is the inode obtained via BTRFS_I(inode)->location.objectid is
guaranteed to be unique across all the btrfs file systems, or just per
the file system this inode is at ?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-22 8:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-22 8:07 btrfs inode is different across file systems ? Ilan Schwarts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).