summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_qm.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2014-01-06 11:28:41 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2014-01-06 11:28:41 +0000
commit3c1c0ae1db74b1f3e606f42158b5dadd89105c1f (patch)
treea3731a3e3ff2d6e76a3411e55a7de6749b3b129c /fs/xfs/xfs_qm.c
parent70d4ee94b370c5ef54d0870600f16bd92d18013c (diff)
downloadtalos-op-linux-3c1c0ae1db74b1f3e606f42158b5dadd89105c1f.tar.gz
talos-op-linux-3c1c0ae1db74b1f3e606f42158b5dadd89105c1f.zip
GFS2: Add directory addition info structure
The intent is that this structure will hold the information required when adding entries to a directory (linking). To start with, it will contain only the number of blocks which are required to link the new entry into the directory. The current calculation returns either 0 or the maximim number of blocks that can ever be requested by such a transaction. The intent is that in a later patch, we can update the dir code to calculate this value more accurately. In addition further patches will also add further fields to the new structure to increase its utility. In addition this patch fixes a bug where the link used during inode creation was adding requesting too many blocks in some cases. This is harmless unless the fs is close to being full. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud