diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-09 10:10:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-09 10:10:47 -0700 |
| commit | 7a400bf28334fc7734639db3566394e1fc80670c (patch) | |
| tree | b256f49c0010ef1abf43fc09a2f7964e78446ec6 /fs/ubifs/debug.c | |
| parent | e49d68ce7cc5a865ce14c1e57938438ab01c3ce3 (diff) | |
| parent | a801fcfeef96702fa3f9b22ad56c5eb1989d9221 (diff) | |
| download | linux-7a400bf28334fc7734639db3566394e1fc80670c.tar.gz linux-7a400bf28334fc7734639db3566394e1fc80670c.tar.bz2 linux-7a400bf28334fc7734639db3566394e1fc80670c.zip | |
Merge tag 'for-linus-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs
Pull UBIFS updates from Richard Weinberger:
- Fix for a race xattr list and modification
- Various minor fixes (spelling, return codes, ...)
* tag 'for-linus-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
ubifs: Fix spelling mistakes
ubifs: Remove ui_mutex in ubifs_xattr_get and change_xattr
ubifs: Fix races between xattr_{set|get} and listxattr operations
ubifs: fix snprintf() checking
ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
Diffstat (limited to 'fs/ubifs/debug.c')
| -rw-r--r-- | fs/ubifs/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index 1bbb9fe661b1..fc718f6178f2 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c @@ -2824,7 +2824,7 @@ void dbg_debugfs_init_fs(struct ubifs_info *c) n = snprintf(d->dfs_dir_name, UBIFS_DFS_DIR_LEN + 1, UBIFS_DFS_DIR_NAME, c->vi.ubi_num, c->vi.vol_id); - if (n == UBIFS_DFS_DIR_LEN) { + if (n > UBIFS_DFS_DIR_LEN) { /* The array size is too small */ return; } |
