summaryrefslogtreecommitdiffstats
path: root/lib/iommu-helper.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-02-15 15:00:38 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-02-15 15:00:38 -0500
commit825f1481ead4ce40671089bae7412ac3519e8caa (patch)
tree574243b782595a47fb34f348e6f6a5f3b396678e /lib/iommu-helper.c
parent74d3487fc8aa58cec16dff7239dea1ca59bdab0e (diff)
downloadlinux-825f1481ead4ce40671089bae7412ac3519e8caa.tar.gz
linux-825f1481ead4ce40671089bae7412ac3519e8caa.tar.bz2
linux-825f1481ead4ce40671089bae7412ac3519e8caa.zip
ext4: Don't use ext4_dec_count() if not needed
The ext4_dec_count() function is only needed when dropping the i_nlink count on inodes which are (or which could be) directories. If we *know* that the inode in question can't possibly be a directory, use drop_nlink or clear_nlink() if we know i_nlink is 1. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions