diff options
Diffstat (limited to 'fs/xfs/xfs_attr.c')
-rw-r--r-- | fs/xfs/xfs_attr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/xfs_attr.c b/fs/xfs/xfs_attr.c index f3ca7186155a..c2568242a901 100644 --- a/fs/xfs/xfs_attr.c +++ b/fs/xfs/xfs_attr.c | |||
@@ -1977,7 +1977,7 @@ xfs_attr_rmtval_get(xfs_da_args_t *args) | |||
1977 | error = xfs_bmapi(args->trans, args->dp, (xfs_fileoff_t)lblkno, | 1977 | error = xfs_bmapi(args->trans, args->dp, (xfs_fileoff_t)lblkno, |
1978 | args->rmtblkcnt, | 1978 | args->rmtblkcnt, |
1979 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, | 1979 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, |
1980 | NULL, 0, map, &nmap, NULL, NULL); | 1980 | NULL, 0, map, &nmap, NULL); |
1981 | if (error) | 1981 | if (error) |
1982 | return(error); | 1982 | return(error); |
1983 | ASSERT(nmap >= 1); | 1983 | ASSERT(nmap >= 1); |
@@ -2056,7 +2056,7 @@ xfs_attr_rmtval_set(xfs_da_args_t *args) | |||
2056 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA | | 2056 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA | |
2057 | XFS_BMAPI_WRITE, | 2057 | XFS_BMAPI_WRITE, |
2058 | args->firstblock, args->total, &map, &nmap, | 2058 | args->firstblock, args->total, &map, &nmap, |
2059 | args->flist, NULL); | 2059 | args->flist); |
2060 | if (!error) { | 2060 | if (!error) { |
2061 | error = xfs_bmap_finish(&args->trans, args->flist, | 2061 | error = xfs_bmap_finish(&args->trans, args->flist, |
2062 | &committed); | 2062 | &committed); |
@@ -2107,7 +2107,7 @@ xfs_attr_rmtval_set(xfs_da_args_t *args) | |||
2107 | args->rmtblkcnt, | 2107 | args->rmtblkcnt, |
2108 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, | 2108 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, |
2109 | args->firstblock, 0, &map, &nmap, | 2109 | args->firstblock, 0, &map, &nmap, |
2110 | NULL, NULL); | 2110 | NULL); |
2111 | if (error) { | 2111 | if (error) { |
2112 | return(error); | 2112 | return(error); |
2113 | } | 2113 | } |
@@ -2172,7 +2172,7 @@ xfs_attr_rmtval_remove(xfs_da_args_t *args) | |||
2172 | args->rmtblkcnt, | 2172 | args->rmtblkcnt, |
2173 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, | 2173 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, |
2174 | args->firstblock, 0, &map, &nmap, | 2174 | args->firstblock, 0, &map, &nmap, |
2175 | args->flist, NULL); | 2175 | args->flist); |
2176 | if (error) { | 2176 | if (error) { |
2177 | return(error); | 2177 | return(error); |
2178 | } | 2178 | } |
@@ -2210,7 +2210,7 @@ xfs_attr_rmtval_remove(xfs_da_args_t *args) | |||
2210 | error = xfs_bunmapi(args->trans, args->dp, lblkno, blkcnt, | 2210 | error = xfs_bunmapi(args->trans, args->dp, lblkno, blkcnt, |
2211 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, | 2211 | XFS_BMAPI_ATTRFORK | XFS_BMAPI_METADATA, |
2212 | 1, args->firstblock, args->flist, | 2212 | 1, args->firstblock, args->flist, |
2213 | NULL, &done); | 2213 | &done); |
2214 | if (!error) { | 2214 | if (!error) { |
2215 | error = xfs_bmap_finish(&args->trans, args->flist, | 2215 | error = xfs_bmap_finish(&args->trans, args->flist, |
2216 | &committed); | 2216 | &committed); |