diff options
Diffstat (limited to 'fs/ocfs2/xattr.c')
| -rw-r--r-- | fs/ocfs2/xattr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index 662f8dee149f..85b190dc132f 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c | |||
| @@ -5334,16 +5334,6 @@ out: | |||
| 5334 | return ret; | 5334 | return ret; |
| 5335 | } | 5335 | } |
| 5336 | 5336 | ||
| 5337 | static inline char *ocfs2_xattr_bucket_get_val(struct inode *inode, | ||
| 5338 | struct ocfs2_xattr_bucket *bucket, | ||
| 5339 | int offs) | ||
| 5340 | { | ||
| 5341 | int block_off = offs >> inode->i_sb->s_blocksize_bits; | ||
| 5342 | |||
| 5343 | offs = offs % inode->i_sb->s_blocksize; | ||
| 5344 | return bucket_block(bucket, block_off) + offs; | ||
| 5345 | } | ||
| 5346 | |||
| 5347 | /* | 5337 | /* |
| 5348 | * Truncate the specified xe_off entry in xattr bucket. | 5338 | * Truncate the specified xe_off entry in xattr bucket. |
| 5349 | * bucket is indicated by header_bh and len is the new length. | 5339 | * bucket is indicated by header_bh and len is the new length. |
