|
@@ -131,9 +131,6 @@ xfs_attr_get(
|
|
|
if (XFS_FORCED_SHUTDOWN(ip->i_mount))
|
|
|
return -EIO;
|
|
|
|
|
|
- if (!xfs_inode_hasattr(ip))
|
|
|
- return -ENOATTR;
|
|
|
-
|
|
|
error = xfs_attr_args_init(&args, ip, name, flags);
|
|
|
if (error)
|
|
|
return error;
|
|
@@ -392,9 +389,6 @@ xfs_attr_remove(
|
|
|
if (XFS_FORCED_SHUTDOWN(dp->i_mount))
|
|
|
return -EIO;
|
|
|
|
|
|
- if (!xfs_inode_hasattr(dp))
|
|
|
- return -ENOATTR;
|
|
|
-
|
|
|
error = xfs_attr_args_init(&args, dp, name, flags);
|
|
|
if (error)
|
|
|
return error;
|