mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
xfs: deprecate BMV_IF_NO_DMAPI_READ flag
Use of the flag has had no effect since kernel commit 288699feca
("xfs: drop dmapi hooks"), which removed all dmapi related code, so
deprecate it.
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
committed by
Darrick J. Wong
parent
4422501da6
commit
fcb62c2803
@@ -1672,8 +1672,6 @@ xfs_ioc_getbmap(
|
||||
bmx.bmv_iflags = BMV_IF_ATTRFORK;
|
||||
/*FALLTHRU*/
|
||||
case XFS_IOC_GETBMAP:
|
||||
if (file->f_mode & FMODE_NOCMTIME)
|
||||
bmx.bmv_iflags |= BMV_IF_NO_DMAPI_READ;
|
||||
/* struct getbmap is a strict subset of struct getbmapx. */
|
||||
recsize = sizeof(struct getbmap);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user