btrfs inode is different across file systems ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux