fscrypt: Add FSTR() helper macro and convert initializers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fscrypt: Add FSTR() helper macroinclude/ | +1 | 0 replies | |
| 2/4 | btrfs: Use FSTR() for the "default" namefs/ fs/ fs/ | +3 | 1 reply | |
| 3/4 | f2fs: Use FSTR() in f2fs_do_make_empty_dir()fs/ | +2 | 0 replies | |
| 4/4 | ubifs: Use FSTR() in ubifs_xattr_{set,get,remove}()fs/ | +3 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | David Sterba |
|---|---|
| 1/4 | |
| 2/4 | A-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] fscrypt: Add FSTR() helper macro and convert initializers
Similar to QSTR(), add FSTR() to initialize struct fscrypt_str from a NUL-terminated string without specifying its length.
Use the helper for 8 initializers in btrfs, F2FS, and UBIFS, replacing hard-coded lengths and explicit strlen() calls.
Thorsten Blum (4):
fscrypt: Add FSTR() helper macro
btrfs: Use FSTR() for the "default" name
f2fs: Use FSTR() in f2fs_do_make_empty_dir()
ubifs: Use FSTR() in ubifs_xattr_{set,get,remove}()
fs/btrfs/inode.c | 3 +-- fs/btrfs/ioctl.c | 3 +-- fs/btrfs/super.c | 3 +-- fs/f2fs/dir.c | 7 ++----- fs/ubifs/xattr.c | 6 +++--- include/linux/fscrypt.h | 1 + 6 files changed, 9 insertions(+), 14 deletions(-)