summaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu_object.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-11 12:55:24 -0800
committerBrian Behlendorf <[email protected]>2013-02-12 10:27:39 -0800
commit9878a89d7ab05ffcdcdbf80233d02e30eea511be (patch)
tree011af26f4a5f24772eb61bde9fe274c9f85495cf /module/zfs/dmu_object.c
parent52768784e66a7b3ca493d907e86ee674ca50193c (diff)
Add explicit MAXNAMELEN check
It turns out that the Linux VFS doesn't strictly handle all cases where a component path name exceeds MAXNAMELEN. It does however appear to correctly handle MAXPATHLEN for us. The right way to handle this appears to be to add an explicit check to the zpl_lookup() function. Several in-tree filesystems handle this case the same way. Signed-off-by: Brian Behlendorf <[email protected]> Closes #1279
Diffstat (limited to 'module/zfs/dmu_object.c')
0 files changed, 0 insertions, 0 deletions