You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[XFS] kill the XFS_IMAP_BULKSTAT flag
Just pass down the XFS_IGET_* flags all the way down to xfs_imap instead of translating them mid-way. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Niv Sardi <xaiki@sgi.com>
This commit is contained in:
committed by
Niv Sardi
parent
92bfc6e7c4
commit
b48d8d6437
+1
-1
@@ -1228,7 +1228,7 @@ xfs_imap(
|
||||
ino != XFS_AGINO_TO_INO(mp, agno, agino)) {
|
||||
#ifdef DEBUG
|
||||
/* no diagnostics for bulkstat, ino comes from userspace */
|
||||
if (flags & XFS_IMAP_BULKSTAT)
|
||||
if (flags & XFS_IGET_BULKSTAT)
|
||||
return XFS_ERROR(EINVAL);
|
||||
if (agno >= mp->m_sb.sb_agcount) {
|
||||
xfs_fs_cmn_err(CE_ALERT, mp,
|
||||
|
||||
Reference in New Issue
Block a user