diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2026-09-22 11:28:59 +0200 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2026-09-22 12:12:29 +0200 |
| commit | d0c4bce31a579216780b990a09250f15e00f38ff (patch) | |
| tree | d4f994af23b189cefeeb5bdcdfe0992bcd92f439 /tools/lib/python | |
| parent | 700a0a6892f7c0c541d5d23837cfab98cc744d17 (diff) | |
| download | linux-next-d0c4bce31a579216780b990a09250f15e00f38ff.tar.gz linux-next-d0c4bce31a579216780b990a09250f15e00f38ff.zip | |
gfs2: gfs2_create_inode excl cleanup
Function gfs2_create_inode() is used for creating different types of
inodes. Regular inodes can be created exclusively or non-exclusively,
while all other inode types are always created exclusively.
Right now, gfs2_create_inode() checks the inode type to determine when
creates should be exclusive; the excl argument is only set for regular
files. Change that to set the excl argument correctly for all inode
types; this saves the inode type check in gfs2_create_inode().
Suggested-by: NeilBrown <neil@brown.name>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
