Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota_v2.c Create Date:2022-07-28 20:33:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:v2_write_dquot

Proto:static int v2_write_dquot(struct dquot *dquot)

Type:int

Parameter:

TypeParameterName
struct dquot *dquot
319  dqopt = sb_dqopt( superblock this applies to )
321  bool alloc = false
329  If Not Offset of dquot on disk [dq_lock, stable once set] Then
330  alloc = true
331  lock for writing
332  Else
333  lock for reading
335  ret = qtree_write_dquot(dqi_priv, dquot)
338  If alloc Then lease a write lock
340  Else lease a read lock
342  Return ret